#[repr(i32)]pub enum TransferCounterpartyDirection {
TRANSFER_COUNTERPARTY_DIRECTION_UNSPECIFIED = 0,
DEPOSIT_FROM = 1,
WITHDRAW_TO = 2,
INTERNAL_TRANSFER_FROM = 3,
INTERNAL_TRANSFER_TO = 4,
}Expand description
TransferCounterpartyDirection identifies how a recent counterparty was used.
Variants§
TRANSFER_COUNTERPARTY_DIRECTION_UNSPECIFIED = 0
Direction is not specified.
DEPOSIT_FROM = 1
Counterparty sent funds to the account.
WITHDRAW_TO = 2
Account withdrew funds to the counterparty.
INTERNAL_TRANSFER_FROM = 3
Counterparty sent an internal transfer to the account.
INTERNAL_TRANSFER_TO = 4
Account sent an internal transfer to the counterparty.
Implementations§
Source§impl TransferCounterpartyDirection
impl TransferCounterpartyDirection
Sourcepub const TransferCounterpartyDirectionUnspecified: Self = Self::TRANSFER_COUNTERPARTY_DIRECTION_UNSPECIFIED
pub const TransferCounterpartyDirectionUnspecified: Self = Self::TRANSFER_COUNTERPARTY_DIRECTION_UNSPECIFIED
Idiomatic alias for Self::TRANSFER_COUNTERPARTY_DIRECTION_UNSPECIFIED; Debug prints the variant name.
Sourcepub const DepositFrom: Self = Self::DEPOSIT_FROM
pub const DepositFrom: Self = Self::DEPOSIT_FROM
Idiomatic alias for Self::DEPOSIT_FROM; Debug prints the variant name.
Sourcepub const WithdrawTo: Self = Self::WITHDRAW_TO
pub const WithdrawTo: Self = Self::WITHDRAW_TO
Idiomatic alias for Self::WITHDRAW_TO; Debug prints the variant name.
Sourcepub const InternalTransferFrom: Self = Self::INTERNAL_TRANSFER_FROM
pub const InternalTransferFrom: Self = Self::INTERNAL_TRANSFER_FROM
Idiomatic alias for Self::INTERNAL_TRANSFER_FROM; Debug prints the variant name.
Sourcepub const InternalTransferTo: Self = Self::INTERNAL_TRANSFER_TO
pub const InternalTransferTo: Self = Self::INTERNAL_TRANSFER_TO
Idiomatic alias for Self::INTERNAL_TRANSFER_TO; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for TransferCounterpartyDirection
impl Clone for TransferCounterpartyDirection
Source§fn clone(&self) -> TransferCounterpartyDirection
fn clone(&self) -> TransferCounterpartyDirection
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 TransferCounterpartyDirection
Source§impl<'de> Deserialize<'de> for TransferCounterpartyDirection
impl<'de> Deserialize<'de> for TransferCounterpartyDirection
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 TransferCounterpartyDirection
impl Enumeration for TransferCounterpartyDirection
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 TransferCounterpartyDirection
Source§impl Hash for TransferCounterpartyDirection
impl Hash for TransferCounterpartyDirection
Source§impl ProtoElemJson for TransferCounterpartyDirection
impl ProtoElemJson for TransferCounterpartyDirection
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 TransferCounterpartyDirection
Auto Trait Implementations§
impl Freeze for TransferCounterpartyDirection
impl RefUnwindSafe for TransferCounterpartyDirection
impl Send for TransferCounterpartyDirection
impl Sync for TransferCounterpartyDirection
impl Unpin for TransferCounterpartyDirection
impl UnsafeUnpin for TransferCounterpartyDirection
impl UnwindSafe for TransferCounterpartyDirection
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.