pub struct AccountInfo {
pub data: Vec<u8>,
pub owner: Pubkey,
pub lamports: u64,
pub executable: bool,
}Expand description
getAccountInfo result (the account exists). data is the raw decoded
account bytes (base64-decoded from the RPC [<b64>, "base64"] form).
Fields§
§data: Vec<u8>§owner: Pubkey§lamports: u64§executable: boolTrait Implementations§
Source§impl Clone for AccountInfo
impl Clone for AccountInfo
Source§impl Debug for AccountInfo
impl Debug for AccountInfo
impl Eq for AccountInfo
Source§impl PartialEq for AccountInfo
impl PartialEq for AccountInfo
impl StructuralPartialEq for AccountInfo
Auto Trait Implementations§
impl Freeze for AccountInfo
impl RefUnwindSafe for AccountInfo
impl Send for AccountInfo
impl Sync for AccountInfo
impl Unpin for AccountInfo
impl UnsafeUnpin for AccountInfo
impl UnwindSafe for AccountInfo
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