Enum concordium_std::schema::SizeLength [−][src]
pub enum SizeLength {
U8,
U16,
U32,
U64,
}Expand description
Type of the variable used to encode the length of Sets, List, Maps
Variants
Trait Implementations
impl Clone for SizeLength[src]
impl Clone for SizeLength[src]pub fn clone(&self) -> SizeLength[src]
pub fn clone(&self) -> SizeLength[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for SizeLength[src]
impl Debug for SizeLength[src]impl Deserial for SizeLength[src]
impl Deserial for SizeLength[src]pub fn deserial<R>(source: &mut R) -> Result<SizeLength, ParseError> where
R: Read, [src]
pub fn deserial<R>(source: &mut R) -> Result<SizeLength, ParseError> where
R: Read, [src]Attempt to read a structure from a given source, failing if an error occurs during deserialization or reading. Read more
impl PartialEq<SizeLength> for SizeLength[src]
impl PartialEq<SizeLength> for SizeLength[src]impl Serial for SizeLength[src]
impl Serial for SizeLength[src]impl Eq for SizeLength[src]
impl StructuralEq for SizeLength[src]
impl StructuralPartialEq for SizeLength[src]
Auto Trait Implementations
impl RefUnwindSafe for SizeLength
impl Send for SizeLength
impl Sync for SizeLength
impl Unpin for SizeLength
impl UnwindSafe for SizeLength
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<A> Serialize for A where
A: Deserial + Serial, [src]
A: Deserial + Serial,