pub struct FieldTypeInfo {
pub field_name: String,
pub rust_type_name: String,
pub base_type: BaseType,
pub is_optional: bool,
pub is_array: bool,
pub inner_type: Option<String>,
pub source_path: Option<String>,
pub resolved_type: Option<ResolvedStructType>,
}Expand description
Language-agnostic type information for fields
Fields§
§field_name: String§rust_type_name: String§base_type: BaseType§is_optional: bool§is_array: bool§inner_type: Option<String>§source_path: Option<String>§resolved_type: Option<ResolvedStructType>Resolved type information for complex types (instructions, accounts, custom types)
Implementations§
Source§impl FieldTypeInfo
impl FieldTypeInfo
Trait Implementations§
Source§impl Clone for FieldTypeInfo
impl Clone for FieldTypeInfo
Source§fn clone(&self) -> FieldTypeInfo
fn clone(&self) -> FieldTypeInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FieldTypeInfo
impl Debug for FieldTypeInfo
Source§impl<'de> Deserialize<'de> for FieldTypeInfo
impl<'de> Deserialize<'de> for FieldTypeInfo
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 Freeze for FieldTypeInfo
impl RefUnwindSafe for FieldTypeInfo
impl Send for FieldTypeInfo
impl Sync for FieldTypeInfo
impl Unpin for FieldTypeInfo
impl UnwindSafe for FieldTypeInfo
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