#[non_exhaustive]pub struct LocalTime {
pub hour: i64,
pub minute: Option<i64>,
pub second: Option<f64>,
}Expand description
An IFC2X3 IfcLocalTime: a time of day.
Zone and DaylightSavingOffset are not carried yet and are written
$, which the schema allows.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.hour: i64HourComponent, 0 through 23.
minute: Option<i64>MinuteComponent, 0 through 59.
second: Option<f64>SecondComponent, at least 0 and below 60. Requires a minute
(IfcValidTime).
Implementations§
Trait Implementations§
impl Copy for LocalTime
Source§impl From<LocalTime> for DateTimeValue<'_>
impl From<LocalTime> for DateTimeValue<'_>
impl StructuralPartialEq for LocalTime
Auto Trait Implementations§
impl Freeze for LocalTime
impl RefUnwindSafe for LocalTime
impl Send for LocalTime
impl Sync for LocalTime
impl Unpin for LocalTime
impl UnsafeUnpin for LocalTime
impl UnwindSafe for LocalTime
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