pub struct IdlAccountSnapshot {
pub name: String,
pub discriminator: Vec<u8>,
pub docs: Vec<String>,
pub serialization: Option<IdlSerializationSnapshot>,
pub fields: Vec<IdlFieldSnapshot>,
pub type_def: Option<IdlInlineTypeDef>,
}Fields§
§name: String§discriminator: Vec<u8>§docs: Vec<String>§serialization: Option<IdlSerializationSnapshot>§fields: Vec<IdlFieldSnapshot>Account fields - populated from inline type definition
type_def: Option<IdlInlineTypeDef>Inline type definition (for Steel format with type.fields structure)
Trait Implementations§
Source§impl Clone for IdlAccountSnapshot
impl Clone for IdlAccountSnapshot
Source§fn clone(&self) -> IdlAccountSnapshot
fn clone(&self) -> IdlAccountSnapshot
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 IdlAccountSnapshot
impl Debug for IdlAccountSnapshot
Source§impl<'de> Deserialize<'de> for IdlAccountSnapshot
impl<'de> Deserialize<'de> for IdlAccountSnapshot
Source§fn deserialize<D>(
deserializer: D,
) -> Result<IdlAccountSnapshot, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<IdlAccountSnapshot, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for IdlAccountSnapshot
impl Serialize for IdlAccountSnapshot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for IdlAccountSnapshot
impl RefUnwindSafe for IdlAccountSnapshot
impl Send for IdlAccountSnapshot
impl Sync for IdlAccountSnapshot
impl Unpin for IdlAccountSnapshot
impl UnsafeUnpin for IdlAccountSnapshot
impl UnwindSafe for IdlAccountSnapshot
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