#[repr(i32)]pub enum TransferSideKind {
TRANSFER_SIDE_KIND_UNSPECIFIED = 0,
FUNDING_ACCOUNT = 1,
TRADING_ACCOUNT = 2,
EXTERNAL_ADDRESS = 3,
PRIVATE_COUNTERPARTY = 4,
FEE_ACCOUNT = 5,
SYSTEM_ACCOUNT = 6,
}Expand description
TransferSideKind identifies the display class for one side of a transfer.
Variants§
TRANSFER_SIDE_KIND_UNSPECIFIED = 0
Transfer side type was not specified.
FUNDING_ACCOUNT = 1
Polyester funding account.
TRADING_ACCOUNT = 2
Polyester trading account.
EXTERNAL_ADDRESS = 3
External wallet or chain address. The address is lifecycle-derived and may be empty until ledger-to-lifecycle correlation is projected.
PRIVATE_COUNTERPARTY = 4
Private off-chain counterparty that must not be identified to the caller. account_id and address are intentionally omitted.
FEE_ACCOUNT = 5
Fee ledger side, for example spot or perp trading fees.
SYSTEM_ACCOUNT = 6
System, operator, clearing, or other non-user side.
Implementations§
Source§impl TransferSideKind
impl TransferSideKind
Sourcepub const TransferSideKindUnspecified: Self = Self::TRANSFER_SIDE_KIND_UNSPECIFIED
pub const TransferSideKindUnspecified: Self = Self::TRANSFER_SIDE_KIND_UNSPECIFIED
Idiomatic alias for Self::TRANSFER_SIDE_KIND_UNSPECIFIED; Debug prints the variant name.
Sourcepub const FundingAccount: Self = Self::FUNDING_ACCOUNT
pub const FundingAccount: Self = Self::FUNDING_ACCOUNT
Idiomatic alias for Self::FUNDING_ACCOUNT; Debug prints the variant name.
Sourcepub const TradingAccount: Self = Self::TRADING_ACCOUNT
pub const TradingAccount: Self = Self::TRADING_ACCOUNT
Idiomatic alias for Self::TRADING_ACCOUNT; Debug prints the variant name.
Sourcepub const ExternalAddress: Self = Self::EXTERNAL_ADDRESS
pub const ExternalAddress: Self = Self::EXTERNAL_ADDRESS
Idiomatic alias for Self::EXTERNAL_ADDRESS; Debug prints the variant name.
Sourcepub const PrivateCounterparty: Self = Self::PRIVATE_COUNTERPARTY
pub const PrivateCounterparty: Self = Self::PRIVATE_COUNTERPARTY
Idiomatic alias for Self::PRIVATE_COUNTERPARTY; Debug prints the variant name.
Sourcepub const FeeAccount: Self = Self::FEE_ACCOUNT
pub const FeeAccount: Self = Self::FEE_ACCOUNT
Idiomatic alias for Self::FEE_ACCOUNT; Debug prints the variant name.
Sourcepub const SystemAccount: Self = Self::SYSTEM_ACCOUNT
pub const SystemAccount: Self = Self::SYSTEM_ACCOUNT
Idiomatic alias for Self::SYSTEM_ACCOUNT; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for TransferSideKind
impl Clone for TransferSideKind
Source§fn clone(&self) -> TransferSideKind
fn clone(&self) -> TransferSideKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for TransferSideKind
Source§impl Debug for TransferSideKind
impl Debug for TransferSideKind
Source§impl Default for TransferSideKind
impl Default for TransferSideKind
Source§impl<'de> Deserialize<'de> for TransferSideKind
impl<'de> Deserialize<'de> for TransferSideKind
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Source§impl Enumeration for TransferSideKind
impl Enumeration for TransferSideKind
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
.proto file.impl Eq for TransferSideKind
Source§impl Hash for TransferSideKind
impl Hash for TransferSideKind
Source§impl PartialEq for TransferSideKind
impl PartialEq for TransferSideKind
Source§impl ProtoElemJson for TransferSideKind
impl ProtoElemJson for TransferSideKind
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>
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>
Source§impl Serialize for TransferSideKind
impl Serialize for TransferSideKind
impl StructuralPartialEq for TransferSideKind
Auto Trait Implementations§
impl Freeze for TransferSideKind
impl RefUnwindSafe for TransferSideKind
impl Send for TransferSideKind
impl Sync for TransferSideKind
impl Unpin for TransferSideKind
impl UnsafeUnpin for TransferSideKind
impl UnwindSafe for TransferSideKind
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
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
key and return true if they are equal.