pub struct Time;Trait Implementations§
Source§impl Value for Time
impl Value for Time
const NAME: &'static str = "harmos_domain::model::storage::codec::timestamp::Time"
const KIND: Kind<Definition>
type Native = SystemTime
fn postcard_write(value: &SystemTime, bytes: &mut Vec<u8>)
fn postcard_size(value: &SystemTime) -> usize
fn postcard_memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn postcard_read(input: &mut Reader<'_>) -> Result<SystemTime, MessageError>
const CARDINALITY: Cardinality = Cardinality::Required
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