pub struct IdlSnapshot {
pub name: String,
pub program_id: Option<String>,
pub version: String,
pub accounts: Vec<IdlAccountSnapshot>,
pub instructions: Vec<IdlInstructionSnapshot>,
pub types: Vec<IdlTypeDefSnapshot>,
pub events: Vec<IdlEventSnapshot>,
pub errors: Vec<IdlErrorSnapshot>,
pub discriminant_size: usize,
}Fields§
§name: String§program_id: Option<String>§version: String§accounts: Vec<IdlAccountSnapshot>§instructions: Vec<IdlInstructionSnapshot>§types: Vec<IdlTypeDefSnapshot>§events: Vec<IdlEventSnapshot>§errors: Vec<IdlErrorSnapshot>§discriminant_size: usizeTrait Implementations§
Source§impl Clone for IdlSnapshot
impl Clone for IdlSnapshot
Source§fn clone(&self) -> IdlSnapshot
fn clone(&self) -> IdlSnapshot
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 IdlSnapshot
impl Debug for IdlSnapshot
Source§impl<'de> Deserialize<'de> for IdlSnapshot
impl<'de> Deserialize<'de> for IdlSnapshot
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 IdlSnapshot
impl RefUnwindSafe for IdlSnapshot
impl Send for IdlSnapshot
impl Sync for IdlSnapshot
impl Unpin for IdlSnapshot
impl UnsafeUnpin for IdlSnapshot
impl UnwindSafe for IdlSnapshot
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