Struct safe_core::ffi::AccountInfo
[−]
[src]
#[repr(C)]pub struct AccountInfo { pub mutations_done: u64, pub mutations_available: u64, }
Represents the FFI-safe account info
Fields
mutations_done: u64
Number of used mutations
mutations_available: u64
Number of available mutations
Trait Implementations
impl Clone for AccountInfo
[src]
fn clone(&self) -> AccountInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for AccountInfo
[src]
impl ReprC for AccountInfo
[src]
type C = *const AccountInfo
C representation of the type
type Error = CoreError
Error type
unsafe fn clone_from_repr_c(repr_c: Self::C) -> Result<Self, Self::Error>
Converts from a raw type into an owned type by cloning data