#[non_exhaustive]pub enum DateTimeInput<'a> {
Text(&'a str),
Record(EntityId),
}Expand description
A date and time for an authoring draft, in the form the release declares it.
IFC4 and IFC4X3 declare IfcDateTime, ISO 8601 text written as given;
IFC2X3 declares IfcDateTimeSelect, a reference to an existing or
earlier-staged IfcCalendarDate, IfcLocalTime or IfcDateAndTime.
A form the release does not declare is refused.
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.
Trait Implementations§
Source§impl<'a> Clone for DateTimeInput<'a>
impl<'a> Clone for DateTimeInput<'a>
Source§fn clone(&self) -> DateTimeInput<'a>
fn clone(&self) -> DateTimeInput<'a>
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<'a> Copy for DateTimeInput<'a>
Source§impl<'a> Debug for DateTimeInput<'a>
impl<'a> Debug for DateTimeInput<'a>
impl<'a> Eq for DateTimeInput<'a>
Source§impl<'a> From<&'a str> for DateTimeInput<'a>
impl<'a> From<&'a str> for DateTimeInput<'a>
Source§impl From<EntityId> for DateTimeInput<'_>
impl From<EntityId> for DateTimeInput<'_>
Source§impl<'a> PartialEq for DateTimeInput<'a>
impl<'a> PartialEq for DateTimeInput<'a>
impl<'a> StructuralPartialEq for DateTimeInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for DateTimeInput<'a>
impl<'a> RefUnwindSafe for DateTimeInput<'a>
impl<'a> Send for DateTimeInput<'a>
impl<'a> Sync for DateTimeInput<'a>
impl<'a> Unpin for DateTimeInput<'a>
impl<'a> UnsafeUnpin for DateTimeInput<'a>
impl<'a> UnwindSafe for DateTimeInput<'a>
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