Struct massbit_sol::schema::Variant [−][src]
pub struct Variant {
pub name: String,
pub value: Option<i32>,
pub inner_name: Option<String>,
pub inner_type: Option<String>,
pub inner_scope: Option<String>,
pub description: Option<String>,
pub offset: Option<u16>,
pub variant_tag: u32,
pub accounts: Option<Vec<AccountInfo>>,
}Fields
name: Stringvalue: Option<i32>inner_name: Option<String>inner_type: Option<String>inner_scope: Option<String>description: Option<String>offset: Option<u16>variant_tag: u32accounts: Option<Vec<AccountInfo>>Implementations
Trait Implementations
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 RefUnwindSafe for Variant
impl UnwindSafe for Variant
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more