#[repr(C)]pub struct Time {
pub seconds: u8,
pub minutes: u8,
pub hours: u8,
pub day: u8,
pub month: u8,
pub year: Uint16,
}Expand description
The wire type corresponding to Time.
Fields§
§seconds: u8§minutes: u8§hours: u8§day: u8§month: u8§year: Uint16Trait Implementations§
Source§impl<___E> Encode<Time, ___E> for Timewhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Time, ___E> for Timewhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<'a, ___E> Encode<Time, ___E> for &'a Timewhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Time, ___E> for &'a Timewhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E, T0, T1, T2, T3, T4, T5> Encode<Time, ___E> for Time<T0, T1, T2, T3, T4, T5>
impl<___E, T0, T1, T2, T3, T4, T5> Encode<Time, ___E> for Time<T0, T1, T2, T3, T4, T5>
Source§impl FromWireRef<Time> for Time
impl FromWireRef<Time> for Time
Source§fn from_wire_ref(wire: &Time) -> Time
fn from_wire_ref(wire: &Time) -> Time
Converts the given reference to this type.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]