#[repr(i32)]pub enum FlowKind {
KIND_UNSPECIFIED = 0,
KIND_DEPOSIT = 1,
KIND_WITHDRAW = 2,
KIND_TRANSFER = 3,
}Expand description
FlowKind identifies the product flow family.
Variants§
KIND_UNSPECIFIED = 0
KIND_DEPOSIT = 1
Deposit flow into Polyester-controlled assets or accounts.
KIND_WITHDRAW = 2
Withdraw flow out of Polyester-controlled assets or accounts.
KIND_TRANSFER = 3
Internal transfer flow between Polyester-controlled accounts.
Implementations§
Source§impl FlowKind
impl FlowKind
Sourcepub const KindUnspecified: Self = Self::KIND_UNSPECIFIED
pub const KindUnspecified: Self = Self::KIND_UNSPECIFIED
Idiomatic alias for Self::KIND_UNSPECIFIED; Debug prints the variant name.
Sourcepub const KindDeposit: Self = Self::KIND_DEPOSIT
pub const KindDeposit: Self = Self::KIND_DEPOSIT
Idiomatic alias for Self::KIND_DEPOSIT; Debug prints the variant name.
Sourcepub const KindWithdraw: Self = Self::KIND_WITHDRAW
pub const KindWithdraw: Self = Self::KIND_WITHDRAW
Idiomatic alias for Self::KIND_WITHDRAW; Debug prints the variant name.
Sourcepub const KindTransfer: Self = Self::KIND_TRANSFER
pub const KindTransfer: Self = Self::KIND_TRANSFER
Idiomatic alias for Self::KIND_TRANSFER; Debug prints the variant name.
Trait Implementations§
impl Copy for FlowKind
Source§impl<'de> Deserialize<'de> for FlowKind
impl<'de> Deserialize<'de> for FlowKind
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 FlowKind
impl Enumeration for FlowKind
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 FlowKind
Source§impl ProtoElemJson for FlowKind
impl ProtoElemJson for FlowKind
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 FlowKind
Auto Trait Implementations§
impl Freeze for FlowKind
impl RefUnwindSafe for FlowKind
impl Send for FlowKind
impl Sync for FlowKind
impl Unpin for FlowKind
impl UnsafeUnpin for FlowKind
impl UnwindSafe for FlowKind
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.