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