#[non_exhaustive]pub enum AuthoredDateTime<'m> {
Text(&'m str),
Record(EntityId),
}Expand description
A date and time as the model’s release types it.
IFC4 and IFC4X3 declare IfcDateTime, ISO 8601 text; IFC2X3 declares
IfcDateTimeSelect, a reference to an IfcCalendarDate, IfcLocalTime
or IfcDateAndTime record. Both are returned as authored.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl<'m> Clone for AuthoredDateTime<'m>
impl<'m> Clone for AuthoredDateTime<'m>
Source§fn clone(&self) -> AuthoredDateTime<'m>
fn clone(&self) -> AuthoredDateTime<'m>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'m> Copy for AuthoredDateTime<'m>
Source§impl<'m> Debug for AuthoredDateTime<'m>
impl<'m> Debug for AuthoredDateTime<'m>
impl<'m> Eq for AuthoredDateTime<'m>
Source§impl<'m> PartialEq for AuthoredDateTime<'m>
impl<'m> PartialEq for AuthoredDateTime<'m>
impl<'m> StructuralPartialEq for AuthoredDateTime<'m>
Auto Trait Implementations§
impl<'m> Freeze for AuthoredDateTime<'m>
impl<'m> RefUnwindSafe for AuthoredDateTime<'m>
impl<'m> Send for AuthoredDateTime<'m>
impl<'m> Sync for AuthoredDateTime<'m>
impl<'m> Unpin for AuthoredDateTime<'m>
impl<'m> UnsafeUnpin for AuthoredDateTime<'m>
impl<'m> UnwindSafe for AuthoredDateTime<'m>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more