pub struct AccountUpdate {
pub lamports: Option<u64>,
pub data: Option<Vec<u8>>,
pub owner: Option<String>,
pub executable: Option<bool>,
pub rent_epoch: Option<Epoch>,
}Fields§
§lamports: Option<u64>providing this value sets the lamports in the account
data: Option<Vec<u8>>providing this value sets the data held in this account
owner: Option<String>providing this value sets the program that owns this account. If executable, the program that loads this account.
executable: Option<bool>providing this value sets whether this account’s data contains a loaded program (and is now read-only)
rent_epoch: Option<Epoch>providing this value sets the epoch at which this account will next owe rent
Implementations§
Trait Implementations§
Source§impl Clone for AccountUpdate
impl Clone for AccountUpdate
Source§fn clone(&self) -> AccountUpdate
fn clone(&self) -> AccountUpdate
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 AccountUpdate
impl Debug for AccountUpdate
Source§impl Default for AccountUpdate
impl Default for AccountUpdate
Source§fn default() -> AccountUpdate
fn default() -> AccountUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountUpdate
impl<'de> Deserialize<'de> for AccountUpdate
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 AccountUpdate
impl PartialEq for AccountUpdate
Source§impl Serialize for AccountUpdate
impl Serialize for AccountUpdate
impl Eq for AccountUpdate
impl StructuralPartialEq for AccountUpdate
Auto Trait Implementations§
impl Freeze for AccountUpdate
impl RefUnwindSafe for AccountUpdate
impl Send for AccountUpdate
impl Sync for AccountUpdate
impl Unpin for AccountUpdate
impl UnwindSafe for AccountUpdate
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more