pub struct IdlAccountSnapshot {
pub name: String,
pub discriminator: Vec<u8>,
pub docs: Vec<String>,
}Expand description
Account definition from IDL
Fields§
§name: StringAccount name (e.g., “BondingCurve”)
discriminator: Vec<u8>8-byte discriminator
docs: Vec<String>Documentation
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<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 IdlAccountSnapshot
impl RefUnwindSafe for IdlAccountSnapshot
impl Send for IdlAccountSnapshot
impl Sync for IdlAccountSnapshot
impl Unpin 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