pub struct AccountFixture {
pub pubkey: String,
pub signer: bool,
pub writable: bool,
pub lamports: u64,
pub owner: Option<String>,
pub data: Option<String>,
}Expand description
One account in an instruction’s account list.
Fields§
§pubkey: StringThe account’s base58 address.
signer: boolWhether the account signs the transaction.
writable: boolWhether the instruction may write to the account.
lamports: u64Starting lamport balance.
owner: Option<String>Owning program (base58), if the account should be pre-owned.
data: Option<String>Hex-encoded initial account data, if any.
Trait Implementations§
Source§impl Clone for AccountFixture
impl Clone for AccountFixture
Source§fn clone(&self) -> AccountFixture
fn clone(&self) -> AccountFixture
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 AccountFixture
impl Debug for AccountFixture
Source§impl<'de> Deserialize<'de> for AccountFixture
impl<'de> Deserialize<'de> for AccountFixture
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
impl Eq for AccountFixture
Source§impl PartialEq for AccountFixture
impl PartialEq for AccountFixture
Source§fn eq(&self, other: &AccountFixture) -> bool
fn eq(&self, other: &AccountFixture) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AccountFixture
impl Serialize for AccountFixture
impl StructuralPartialEq for AccountFixture
Auto Trait Implementations§
impl Freeze for AccountFixture
impl RefUnwindSafe for AccountFixture
impl Send for AccountFixture
impl Sync for AccountFixture
impl Unpin for AccountFixture
impl UnsafeUnpin for AccountFixture
impl UnwindSafe for AccountFixture
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