#[repr(C)]pub struct CAccountMeta {
pub pubkey: *const Pubkey,
pub is_writable: bool,
pub is_signer: bool,
}Expand description
An AccountMeta`` as expected by sol_invoke_signed_c`.
Fields§
§pubkey: *const Pubkey§is_writable: bool§is_signer: boolTrait Implementations§
Source§impl Clone for CAccountMeta
impl Clone for CAccountMeta
Source§fn clone(&self) -> CAccountMeta
fn clone(&self) -> CAccountMeta
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 CAccountMeta
impl Debug for CAccountMeta
Source§impl From<&AccountInfo> for CAccountMeta
impl From<&AccountInfo> for CAccountMeta
Source§fn from(account: &AccountInfo) -> Self
fn from(account: &AccountInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CAccountMeta
impl RefUnwindSafe for CAccountMeta
impl !Send for CAccountMeta
impl !Sync for CAccountMeta
impl Unpin for CAccountMeta
impl UnwindSafe for CAccountMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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