#[repr(i32)]pub enum DestinationWhitelistStatus {
DESTINATION_WHITELIST_STATUS_UNSPECIFIED = 0,
DESTINATION_NOT_WHITELISTED = 1,
DESTINATION_WHITELIST_ACTIVE = 2,
DESTINATION_WHITELIST_UNRESOLVED = 3,
}Expand description
DestinationWhitelistStatus describes whether a transfer destination currently has an active whitelist allowance.
Variants§
DESTINATION_WHITELIST_STATUS_UNSPECIFIED = 0
Whitelist status is not specified.
DESTINATION_NOT_WHITELISTED = 1
Destination is not whitelisted.
DESTINATION_WHITELIST_ACTIVE = 2
Destination has an active whitelist entry and can be used now.
DESTINATION_WHITELIST_UNRESOLVED = 3
Whitelist status could not be resolved for this destination.
Implementations§
Source§impl DestinationWhitelistStatus
impl DestinationWhitelistStatus
Sourcepub const DestinationWhitelistStatusUnspecified: Self = Self::DESTINATION_WHITELIST_STATUS_UNSPECIFIED
pub const DestinationWhitelistStatusUnspecified: Self = Self::DESTINATION_WHITELIST_STATUS_UNSPECIFIED
Idiomatic alias for Self::DESTINATION_WHITELIST_STATUS_UNSPECIFIED; Debug prints the variant name.
Sourcepub const DestinationNotWhitelisted: Self = Self::DESTINATION_NOT_WHITELISTED
pub const DestinationNotWhitelisted: Self = Self::DESTINATION_NOT_WHITELISTED
Idiomatic alias for Self::DESTINATION_NOT_WHITELISTED; Debug prints the variant name.
Sourcepub const DestinationWhitelistActive: Self = Self::DESTINATION_WHITELIST_ACTIVE
pub const DestinationWhitelistActive: Self = Self::DESTINATION_WHITELIST_ACTIVE
Idiomatic alias for Self::DESTINATION_WHITELIST_ACTIVE; Debug prints the variant name.
Sourcepub const DestinationWhitelistUnresolved: Self = Self::DESTINATION_WHITELIST_UNRESOLVED
pub const DestinationWhitelistUnresolved: Self = Self::DESTINATION_WHITELIST_UNRESOLVED
Idiomatic alias for Self::DESTINATION_WHITELIST_UNRESOLVED; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for DestinationWhitelistStatus
impl Clone for DestinationWhitelistStatus
Source§fn clone(&self) -> DestinationWhitelistStatus
fn clone(&self) -> DestinationWhitelistStatus
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 DestinationWhitelistStatus
Source§impl Debug for DestinationWhitelistStatus
impl Debug for DestinationWhitelistStatus
Source§impl Default for DestinationWhitelistStatus
impl Default for DestinationWhitelistStatus
Source§impl<'de> Deserialize<'de> for DestinationWhitelistStatus
impl<'de> Deserialize<'de> for DestinationWhitelistStatus
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 DestinationWhitelistStatus
impl Enumeration for DestinationWhitelistStatus
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 DestinationWhitelistStatus
Source§impl Hash for DestinationWhitelistStatus
impl Hash for DestinationWhitelistStatus
Source§impl ProtoElemJson for DestinationWhitelistStatus
impl ProtoElemJson for DestinationWhitelistStatus
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.
impl StructuralPartialEq for DestinationWhitelistStatus
Auto Trait Implementations§
impl Freeze for DestinationWhitelistStatus
impl RefUnwindSafe for DestinationWhitelistStatus
impl Send for DestinationWhitelistStatus
impl Sync for DestinationWhitelistStatus
impl Unpin for DestinationWhitelistStatus
impl UnsafeUnpin for DestinationWhitelistStatus
impl UnwindSafe for DestinationWhitelistStatus
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.