#[repr(i32)]pub enum AddressBookEntryKind {
ENTRY_KIND_UNSPECIFIED = 0,
EXTERNAL_CHAIN = 1,
INTERNAL_ACCOUNT = 2,
}Expand description
AddressBookEntryKind identifies the type of saved transfer destination.
Variants§
ENTRY_KIND_UNSPECIFIED = 0
Entry type is not specified.
EXTERNAL_CHAIN = 1
External network withdrawal address.
INTERNAL_ACCOUNT = 2
Internal exchange account.
Implementations§
Source§impl AddressBookEntryKind
impl AddressBookEntryKind
Sourcepub const EntryKindUnspecified: Self = Self::ENTRY_KIND_UNSPECIFIED
pub const EntryKindUnspecified: Self = Self::ENTRY_KIND_UNSPECIFIED
Idiomatic alias for Self::ENTRY_KIND_UNSPECIFIED; Debug prints the variant name.
Sourcepub const ExternalChain: Self = Self::EXTERNAL_CHAIN
pub const ExternalChain: Self = Self::EXTERNAL_CHAIN
Idiomatic alias for Self::EXTERNAL_CHAIN; Debug prints the variant name.
Sourcepub const InternalAccount: Self = Self::INTERNAL_ACCOUNT
pub const InternalAccount: Self = Self::INTERNAL_ACCOUNT
Idiomatic alias for Self::INTERNAL_ACCOUNT; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for AddressBookEntryKind
impl Clone for AddressBookEntryKind
Source§fn clone(&self) -> AddressBookEntryKind
fn clone(&self) -> AddressBookEntryKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AddressBookEntryKind
Source§impl Debug for AddressBookEntryKind
impl Debug for AddressBookEntryKind
Source§impl Default for AddressBookEntryKind
impl Default for AddressBookEntryKind
Source§impl<'de> Deserialize<'de> for AddressBookEntryKind
impl<'de> Deserialize<'de> for AddressBookEntryKind
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for AddressBookEntryKind
impl Enumeration for AddressBookEntryKind
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for AddressBookEntryKind
Source§impl Hash for AddressBookEntryKind
impl Hash for AddressBookEntryKind
Source§impl PartialEq for AddressBookEntryKind
impl PartialEq for AddressBookEntryKind
Source§impl ProtoElemJson for AddressBookEntryKind
impl ProtoElemJson for AddressBookEntryKind
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for AddressBookEntryKind
impl Serialize for AddressBookEntryKind
impl StructuralPartialEq for AddressBookEntryKind
Auto Trait Implementations§
impl Freeze for AddressBookEntryKind
impl RefUnwindSafe for AddressBookEntryKind
impl Send for AddressBookEntryKind
impl Sync for AddressBookEntryKind
impl Unpin for AddressBookEntryKind
impl UnsafeUnpin for AddressBookEntryKind
impl UnwindSafe for AddressBookEntryKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.