Struct multiversx_sc_meta::abi_json::TypeDescriptionJson
source · pub struct TypeDescriptionJson {
pub content_type: String,
pub docs: Vec<String>,
pub variants: Vec<EnumVariantDescriptionJson>,
pub fields: Vec<StructFieldDescriptionJson>,
}
Fields§
§content_type: String
§docs: Vec<String>
§variants: Vec<EnumVariantDescriptionJson>
§fields: Vec<StructFieldDescriptionJson>
Implementations§
source§impl TypeDescriptionJson
impl TypeDescriptionJson
pub fn to_type_description(&self, names: TypeNames) -> TypeDescription
Trait Implementations§
source§impl<'de> Deserialize<'de> for TypeDescriptionJson
impl<'de> Deserialize<'de> for TypeDescriptionJson
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
source§impl From<&TypeDescription> for TypeDescriptionJson
impl From<&TypeDescription> for TypeDescriptionJson
source§fn from(abi: &TypeDescription) -> Self
fn from(abi: &TypeDescription) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TypeDescriptionJson
impl RefUnwindSafe for TypeDescriptionJson
impl Send for TypeDescriptionJson
impl Sync for TypeDescriptionJson
impl Unpin for TypeDescriptionJson
impl UnwindSafe for TypeDescriptionJson
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