pub struct TotalFeeConfigurationBps {
pub type_: TotalFeeConfigurationBpsType,
pub value: i64,
}Expand description
Total fees assessed on a transfer, in BPS
JSON schema
{
"title": "TotalFeeConfigurationBps",
"description": "Total fees assessed on a transfer, in BPS",
"examples": [
{
"type": "total_fee_bps",
"value": 50
}
],
"type": "object",
"required": [
"type",
"value"
],
"properties": {
"type": {
"description": "Discriminator: total fee specified in BPS.",
"type": "string",
"enum": [
"total_fee_bps"
]
},
"value": {
"description": "Total fee in basis points (1 bps = 0.01%).",
"type": "integer",
"maximum": 10000.0,
"minimum": 0.0
}
},
"x-stainless-model": "wallets.total_fee_configuration_bps"
}Fields§
§type_: TotalFeeConfigurationBpsTypeDiscriminator: total fee specified in BPS.
value: i64Total fee in basis points (1 bps = 0.01%).
Trait Implementations§
Source§impl Clone for TotalFeeConfigurationBps
impl Clone for TotalFeeConfigurationBps
Source§fn clone(&self) -> TotalFeeConfigurationBps
fn clone(&self) -> TotalFeeConfigurationBps
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 moreSource§impl Debug for TotalFeeConfigurationBps
impl Debug for TotalFeeConfigurationBps
Source§impl<'de> Deserialize<'de> for TotalFeeConfigurationBps
impl<'de> Deserialize<'de> for TotalFeeConfigurationBps
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&TotalFeeConfigurationBps> for TotalFeeConfigurationBps
impl From<&TotalFeeConfigurationBps> for TotalFeeConfigurationBps
Source§fn from(value: &TotalFeeConfigurationBps) -> Self
fn from(value: &TotalFeeConfigurationBps) -> Self
Converts to this type from the input type.
Source§impl From<FeeConfiguration> for TotalFeeConfigurationBps
impl From<FeeConfiguration> for TotalFeeConfigurationBps
Source§fn from(value: FeeConfiguration) -> Self
fn from(value: FeeConfiguration) -> Self
Converts to this type from the input type.
Source§impl From<TotalFeeConfigurationBps> for FeeConfiguration
impl From<TotalFeeConfigurationBps> for FeeConfiguration
Source§fn from(value: TotalFeeConfigurationBps) -> Self
fn from(value: TotalFeeConfigurationBps) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TotalFeeConfigurationBps
impl RefUnwindSafe for TotalFeeConfigurationBps
impl Send for TotalFeeConfigurationBps
impl Sync for TotalFeeConfigurationBps
impl Unpin for TotalFeeConfigurationBps
impl UnsafeUnpin for TotalFeeConfigurationBps
impl UnwindSafe for TotalFeeConfigurationBps
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