pub struct Time {
pub day: f64,
pub hour: f64,
pub min: f64,
pub sec: f64,
pub milli: f64,
pub micro: f64,
pub nano: u32,
pub negative: bool,
pub is_long: bool,
}Fields§
§day: f64§hour: f64§min: f64§sec: f64§milli: f64§micro: f64§nano: u32§negative: bool§is_long: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Time
impl<'de> Deserialize<'de> for Time
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstLiteral> for &'__deriveMoreLifetime Time
impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime AstLiteral> for &'__deriveMoreLifetime Time
Source§type Error = TryIntoError<&'__deriveMoreLifetime AstLiteral>
type Error = TryIntoError<&'__deriveMoreLifetime AstLiteral>
The type returned in the event of a conversion error.
Source§impl TryFrom<AstLiteral> for Time
impl TryFrom<AstLiteral> for Time
Source§type Error = TryIntoError<AstLiteral>
type Error = TryIntoError<AstLiteral>
The type returned in the event of a conversion error.
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl Freeze for Time
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnsafeUnpin for Time
impl UnwindSafe for Time
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