pub struct IdlAccountItem {
pub name: String,
pub is_mut: bool,
pub is_signer: bool,
pub is_optional: bool,
pub docs: Vec<String>,
pub pda: Option<IdlPda>,
}Fields§
§name: String§is_mut: bool§is_signer: bool§is_optional: bool§docs: Vec<String>§pda: Option<IdlPda>Trait Implementations§
Source§impl BorshDeserialize for IdlAccountItem
impl BorshDeserialize for IdlAccountItem
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for IdlAccountItem
impl BorshSerialize for IdlAccountItem
Source§impl Clone for IdlAccountItem
impl Clone for IdlAccountItem
Source§fn clone(&self) -> IdlAccountItem
fn clone(&self) -> IdlAccountItem
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 IdlAccountItem
impl Debug for IdlAccountItem
Source§impl<'de> Deserialize<'de> for IdlAccountItem
impl<'de> Deserialize<'de> for IdlAccountItem
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 IdlAccountItem
impl RefUnwindSafe for IdlAccountItem
impl Send for IdlAccountItem
impl Sync for IdlAccountItem
impl Unpin for IdlAccountItem
impl UnwindSafe for IdlAccountItem
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