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