pub struct Id;Trait Implementations§
Source§impl Value for Id
impl Value for Id
const NAME: &'static str = "harmos_domain::model::storage::codec::Id"
const KIND: Kind<Definition> = Kind::String
type Native = Identifier
fn postcard_write(value: &<Id as Value>::Native, bytes: &mut Vec<u8>)
fn postcard_size(value: &<Id as Value>::Native) -> usize
fn postcard_memory(input: &mut Reader<'_>) -> Result<usize, MessageError>
fn postcard_read( input: &mut Reader<'_>, ) -> Result<<Id as Value>::Native, MessageError>
const CARDINALITY: Cardinality = Cardinality::Required
Auto Trait Implementations§
impl Freeze for Id
impl RefUnwindSafe for Id
impl Send for Id
impl Sync for Id
impl Unpin for Id
impl UnsafeUnpin for Id
impl UnwindSafe for Id
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