Struct anchor_lang_idl::types::IdlAccount
source · pub struct IdlAccount {
pub name: String,
pub discriminator: IdlDiscriminator,
}
Fields§
§name: String
§discriminator: IdlDiscriminator
Trait Implementations§
source§impl Clone for IdlAccount
impl Clone for IdlAccount
source§fn clone(&self) -> IdlAccount
fn clone(&self) -> IdlAccount
Returns a copy 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 IdlAccount
impl Debug for IdlAccount
source§impl<'de> Deserialize<'de> for IdlAccount
impl<'de> Deserialize<'de> for IdlAccount
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
source§impl PartialEq for IdlAccount
impl PartialEq for IdlAccount
source§fn eq(&self, other: &IdlAccount) -> bool
fn eq(&self, other: &IdlAccount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IdlAccount
impl Serialize for IdlAccount
impl StructuralPartialEq for IdlAccount
Auto Trait Implementations§
impl Freeze for IdlAccount
impl RefUnwindSafe for IdlAccount
impl Send for IdlAccount
impl Sync for IdlAccount
impl Unpin for IdlAccount
impl UnwindSafe for IdlAccount
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