pub struct AccountInfoWithPubkey {
pub key: Pubkey,
pub lamports: u64,
pub owner: Pubkey,
pub data: Vec<u8>,
pub utxo: String,
pub is_executable: bool,
}Fields§
§key: Pubkey§lamports: u64§owner: Pubkey§data: Vec<u8>§utxo: String§is_executable: boolTrait Implementations§
Source§impl Clone for AccountInfoWithPubkey
impl Clone for AccountInfoWithPubkey
Source§fn clone(&self) -> AccountInfoWithPubkey
fn clone(&self) -> AccountInfoWithPubkey
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccountInfoWithPubkey
impl Debug for AccountInfoWithPubkey
Source§impl<'de> Deserialize<'de> for AccountInfoWithPubkey
impl<'de> Deserialize<'de> for AccountInfoWithPubkey
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 From<(Pubkey, AccountInfo)> for AccountInfoWithPubkey
impl From<(Pubkey, AccountInfo)> for AccountInfoWithPubkey
Source§fn from(info: (Pubkey, AccountInfo)) -> Self
fn from(info: (Pubkey, AccountInfo)) -> Self
Converts to this type from the input type.
Source§impl From<AccountInfoWithPubkey> for AccountInfo
impl From<AccountInfoWithPubkey> for AccountInfo
Source§fn from(info: AccountInfoWithPubkey) -> Self
fn from(info: AccountInfoWithPubkey) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AccountInfoWithPubkey
impl PartialEq for AccountInfoWithPubkey
Source§fn eq(&self, other: &AccountInfoWithPubkey) -> bool
fn eq(&self, other: &AccountInfoWithPubkey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AccountInfoWithPubkey
impl Serialize for AccountInfoWithPubkey
impl StructuralPartialEq for AccountInfoWithPubkey
Auto Trait Implementations§
impl Freeze for AccountInfoWithPubkey
impl RefUnwindSafe for AccountInfoWithPubkey
impl Send for AccountInfoWithPubkey
impl Sync for AccountInfoWithPubkey
impl Unpin for AccountInfoWithPubkey
impl UnsafeUnpin for AccountInfoWithPubkey
impl UnwindSafe for AccountInfoWithPubkey
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