pub struct OnrampSessionFees {
pub network_fee_amount: Option<String>,
pub transaction_fee_amount: Option<String>,
}Expand description
Fee breakdown for a Stripe onramp transaction.
JSON schema
{
"title": "OnrampSessionFees",
"description": "Fee breakdown for a Stripe onramp transaction.",
"examples": [
{
"network_fee_amount": "0.17",
"transaction_fee_amount": "4.04"
}
],
"type": "object",
"properties": {
"network_fee_amount": {
"type": "string"
},
"transaction_fee_amount": {
"type": "string"
}
},
"x-stainless-model": "onramps.onramp_session_fees"
}Fields§
§network_fee_amount: Option<String>§transaction_fee_amount: Option<String>Trait Implementations§
Source§impl Clone for OnrampSessionFees
impl Clone for OnrampSessionFees
Source§fn clone(&self) -> OnrampSessionFees
fn clone(&self) -> OnrampSessionFees
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 OnrampSessionFees
impl Debug for OnrampSessionFees
Source§impl Default for OnrampSessionFees
impl Default for OnrampSessionFees
Source§impl<'de> Deserialize<'de> for OnrampSessionFees
impl<'de> Deserialize<'de> for OnrampSessionFees
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<&OnrampSessionFees> for OnrampSessionFees
impl From<&OnrampSessionFees> for OnrampSessionFees
Source§fn from(value: &OnrampSessionFees) -> Self
fn from(value: &OnrampSessionFees) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OnrampSessionFees
impl RefUnwindSafe for OnrampSessionFees
impl Send for OnrampSessionFees
impl Sync for OnrampSessionFees
impl Unpin for OnrampSessionFees
impl UnsafeUnpin for OnrampSessionFees
impl UnwindSafe for OnrampSessionFees
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