Enum concordium_std::schema::Type [−][src]
pub enum Type {}Show variants
Unit, Bool, U8, U16, U32, U64, U128, I8, I16, I32, I64, I128, Amount, AccountAddress, ContractAddress, Timestamp, Duration, Pair(Box<Type, Global>, Box<Type, Global>), List(SizeLength, Box<Type, Global>), Set(SizeLength, Box<Type, Global>), Map(SizeLength, Box<Type, Global>, Box<Type, Global>), Array(u32, Box<Type, Global>), Struct(Fields), Enum(Vec<(String, Fields), Global>), String(SizeLength), ContractName(SizeLength), ReceiveName(SizeLength),
Expand description
Schema type used to describe the different types in a rust smart contract.
Variants
List(SizeLength, Box<Type, Global>)
Set(SizeLength, Box<Type, Global>)
Struct(Fields)
String(SizeLength)
ContractName(SizeLength)
ReceiveName(SizeLength)
Trait Implementations
impl Eq for Type
[src]
impl StructuralEq for Type
[src]
impl StructuralPartialEq for Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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 = T
The 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,