Enum solders::rpc::responses::AccountMaybeJSON
source · pub enum AccountMaybeJSON {
Binary(Account),
Parsed(AccountJSON),
}Variants§
Binary(Account)
Parsed(AccountJSON)
Trait Implementations§
source§impl Clone for AccountMaybeJSON
impl Clone for AccountMaybeJSON
source§fn clone(&self) -> AccountMaybeJSON
fn clone(&self) -> AccountMaybeJSON
Returns a copy 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 AccountMaybeJSON
impl Debug for AccountMaybeJSON
source§impl<'de> Deserialize<'de> for AccountMaybeJSON
impl<'de> Deserialize<'de> for AccountMaybeJSON
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 From<Account> for AccountMaybeJSON
impl From<Account> for AccountMaybeJSON
source§impl From<AccountJSON> for AccountMaybeJSON
impl From<AccountJSON> for AccountMaybeJSON
source§fn from(a: AccountJSON) -> Self
fn from(a: AccountJSON) -> Self
Converts to this type from the input type.
source§impl<'source> FromPyObject<'source> for AccountMaybeJSON
impl<'source> FromPyObject<'source> for AccountMaybeJSON
source§impl PartialEq<AccountMaybeJSON> for AccountMaybeJSON
impl PartialEq<AccountMaybeJSON> for AccountMaybeJSON
source§fn eq(&self, other: &AccountMaybeJSON) -> bool
fn eq(&self, other: &AccountMaybeJSON) -> bool
This method tests for
self and other values to be equal, and is used
by ==.