pub struct CliAccount {
pub keyed_account: RpcKeyedAccount,
pub use_lamports_unit: bool,
}Fields§
§keyed_account: RpcKeyedAccount§use_lamports_unit: boolImplementations§
source§impl CliAccount
impl CliAccount
pub fn new<T: ReadableAccount>( address: &Pubkey, account: &T, use_lamports_unit: bool, ) -> Self
pub fn new_with_config<T: ReadableAccount>( address: &Pubkey, account: &T, config: &CliAccountNewConfig, ) -> Self
Trait Implementations§
source§impl<'de> Deserialize<'de> for CliAccount
impl<'de> Deserialize<'de> for CliAccount
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 Display for CliAccount
impl Display for CliAccount
source§impl QuietDisplay for CliAccount
impl QuietDisplay for CliAccount
source§impl Serialize for CliAccount
impl Serialize for CliAccount
source§impl VerboseDisplay for CliAccount
impl VerboseDisplay for CliAccount
Auto Trait Implementations§
impl Freeze for CliAccount
impl RefUnwindSafe for CliAccount
impl Send for CliAccount
impl Sync for CliAccount
impl Unpin for CliAccount
impl UnwindSafe for CliAccount
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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