pub struct AccountModificationForInstruction {
pub lamports: Option<u64>,
pub owner: Option<Pubkey>,
pub executable: Option<bool>,
pub data_key: Option<u64>,
pub rent_epoch: Option<u64>,
pub delegated: Option<bool>,
}Fields§
§lamports: Option<u64>§owner: Option<Pubkey>§executable: Option<bool>§data_key: Option<u64>§rent_epoch: Option<u64>§delegated: Option<bool>Trait Implementations§
Source§impl Clone for AccountModificationForInstruction
impl Clone for AccountModificationForInstruction
Source§fn clone(&self) -> AccountModificationForInstruction
fn clone(&self) -> AccountModificationForInstruction
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 Default for AccountModificationForInstruction
impl Default for AccountModificationForInstruction
Source§fn default() -> AccountModificationForInstruction
fn default() -> AccountModificationForInstruction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountModificationForInstruction
impl<'de> Deserialize<'de> for AccountModificationForInstruction
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 AccountModificationForInstruction
impl PartialEq for AccountModificationForInstruction
Source§fn eq(&self, other: &AccountModificationForInstruction) -> bool
fn eq(&self, other: &AccountModificationForInstruction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AccountModificationForInstruction
impl StructuralPartialEq for AccountModificationForInstruction
Auto Trait Implementations§
impl Freeze for AccountModificationForInstruction
impl RefUnwindSafe for AccountModificationForInstruction
impl Send for AccountModificationForInstruction
impl Sync for AccountModificationForInstruction
impl Unpin for AccountModificationForInstruction
impl UnwindSafe for AccountModificationForInstruction
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