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