Struct miraland_cli_output::CliAccount
source · pub struct CliAccount {
pub keyed_account: RpcKeyedAccount,
pub use_lamports_unit: bool,
}
Fields§
§keyed_account: RpcKeyedAccount
§use_lamports_unit: bool
Implementations§
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 RefUnwindSafe for CliAccount
impl Send for CliAccount
impl Sync for CliAccount
impl Unpin for CliAccount
impl UnwindSafe for CliAccount
Blanket Implementations§
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
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