pub struct FeeConfiguration(pub TotalFeeConfigurationBps);Expand description
How transfer fees are specified. If omitted, a default fee configuration is applied.
JSON schema
{
"title": "FeeConfiguration",
"description": "How transfer fees are specified. If omitted, a default
fee configuration is applied.",
"examples": [
{
"type": "total_fee_bps",
"value": 50
}
],
"oneOf": [
{
"$ref": "#/components/schemas/TotalFeeConfigurationBps"
}
],
"x-stainless-model": "wallets.fee_configuration"
}Tuple Fields§
§0: TotalFeeConfigurationBpsTrait Implementations§
Source§impl Clone for FeeConfiguration
impl Clone for FeeConfiguration
Source§fn clone(&self) -> FeeConfiguration
fn clone(&self) -> FeeConfiguration
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 FeeConfiguration
impl Debug for FeeConfiguration
Source§impl Deref for FeeConfiguration
impl Deref for FeeConfiguration
Source§type Target = TotalFeeConfigurationBps
type Target = TotalFeeConfigurationBps
The resulting type after dereferencing.
Source§fn deref(&self) -> &TotalFeeConfigurationBps
fn deref(&self) -> &TotalFeeConfigurationBps
Dereferences the value.
Source§impl<'de> Deserialize<'de> for FeeConfiguration
impl<'de> Deserialize<'de> for FeeConfiguration
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<&FeeConfiguration> for FeeConfiguration
impl From<&FeeConfiguration> for FeeConfiguration
Source§fn from(value: &FeeConfiguration) -> Self
fn from(value: &FeeConfiguration) -> 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 FeeConfiguration
impl RefUnwindSafe for FeeConfiguration
impl Send for FeeConfiguration
impl Sync for FeeConfiguration
impl Unpin for FeeConfiguration
impl UnsafeUnpin for FeeConfiguration
impl UnwindSafe for FeeConfiguration
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