pub struct ABIType<F: Form = MetaForm> {
pub type_id: u32,
pub tp: TypeEnum,
pub fields: Option<Vec<TypeInfo<F>>>,
pub primitive: Option<String>,
pub array_len: Option<u32>,
pub variants: Option<Vec<Vec<TypeInfo<F>>>>,
}Fields§
§type_id: u32§tp: TypeEnum§fields: Option<Vec<TypeInfo<F>>>§primitive: Option<String>§array_len: Option<u32>§variants: Option<Vec<Vec<TypeInfo<F>>>>Trait Implementations§
Source§impl<'de, F: Form> Deserialize<'de> for ABIType<F>
impl<'de, F: Form> Deserialize<'de> for ABIType<F>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<F> Freeze for ABIType<F>
impl<F> RefUnwindSafe for ABIType<F>
impl<F> Send for ABIType<F>
impl<F> Sync for ABIType<F>
impl<F> Unpin for ABIType<F>
impl<F> UnwindSafe for ABIType<F>
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