#[repr(i32)]pub enum FeeType {
Unspecified = 0,
Commission = 1,
PlatformFee = 2,
Gst = 3,
SettlementInstruction = 4,
Trading = 5,
WithholdingFee = 6,
}Expand description
费用类型
Variants§
Unspecified = 0
Commission = 1
佣金
PlatformFee = 2
平台使用费
Gst = 3
GST-消费税
SettlementInstruction = 4
清结算费
Trading = 5
交易佣金
WithholdingFee = 6
mci-withholding-fee 身份未验证收取的税费
Implementations§
Source§impl FeeType
impl FeeType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Ord for FeeType
impl Ord for FeeType
Source§impl PartialOrd for FeeType
impl PartialOrd for FeeType
impl Copy for FeeType
impl Eq for FeeType
impl StructuralPartialEq for FeeType
Auto Trait Implementations§
impl Freeze for FeeType
impl RefUnwindSafe for FeeType
impl Send for FeeType
impl Sync for FeeType
impl Unpin for FeeType
impl UnsafeUnpin for FeeType
impl UnwindSafe for FeeType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.