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