#[repr(i32)]pub enum AccountScopeType {
SCOPE_UNSPECIFIED = 0,
SCOPE_ROOT = 1,
SCOPE_SUBACCOUNT = 2,
}Expand description
AccountScopeType identifies whether address-book data belongs to the root account or a subaccount.
Variants§
SCOPE_UNSPECIFIED = 0
Scope is not specified.
SCOPE_ROOT = 1
Root account scope.
SCOPE_SUBACCOUNT = 2
Subaccount scope.
Implementations§
Source§impl AccountScopeType
impl AccountScopeType
Sourcepub const ScopeUnspecified: Self = Self::SCOPE_UNSPECIFIED
pub const ScopeUnspecified: Self = Self::SCOPE_UNSPECIFIED
Idiomatic alias for Self::SCOPE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const ScopeRoot: Self = Self::SCOPE_ROOT
pub const ScopeRoot: Self = Self::SCOPE_ROOT
Idiomatic alias for Self::SCOPE_ROOT; Debug prints the variant name.
Sourcepub const ScopeSubaccount: Self = Self::SCOPE_SUBACCOUNT
pub const ScopeSubaccount: Self = Self::SCOPE_SUBACCOUNT
Idiomatic alias for Self::SCOPE_SUBACCOUNT; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for AccountScopeType
impl Clone for AccountScopeType
Source§fn clone(&self) -> AccountScopeType
fn clone(&self) -> AccountScopeType
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 AccountScopeType
Source§impl Debug for AccountScopeType
impl Debug for AccountScopeType
Source§impl Default for AccountScopeType
impl Default for AccountScopeType
Source§impl<'de> Deserialize<'de> for AccountScopeType
impl<'de> Deserialize<'de> for AccountScopeType
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 AccountScopeType
impl Enumeration for AccountScopeType
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 AccountScopeType
Source§impl Hash for AccountScopeType
impl Hash for AccountScopeType
Source§impl PartialEq for AccountScopeType
impl PartialEq for AccountScopeType
Source§impl ProtoElemJson for AccountScopeType
impl ProtoElemJson for AccountScopeType
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 AccountScopeType
impl Serialize for AccountScopeType
impl StructuralPartialEq for AccountScopeType
Auto Trait Implementations§
impl Freeze for AccountScopeType
impl RefUnwindSafe for AccountScopeType
impl Send for AccountScopeType
impl Sync for AccountScopeType
impl Unpin for AccountScopeType
impl UnsafeUnpin for AccountScopeType
impl UnwindSafe for AccountScopeType
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.