pub enum FeeLineItem {
RelayerFee(RelayerFee),
PrivyFee(PrivyFee),
DeveloperFee(DeveloperFee),
}Expand description
An individual fee assessed on a transfer.
JSON schema
{
"title": "FeeLineItem",
"description": "An individual fee assessed on a transfer.",
"examples": [
{
"amount": "0.20",
"type": "privy"
}
],
"oneOf": [
{
"$ref": "#/components/schemas/RelayerFee"
},
{
"$ref": "#/components/schemas/PrivyFee"
},
{
"$ref": "#/components/schemas/DeveloperFee"
}
],
"x-stainless-model": "wallets.fee_line_item"
}Variants§
Trait Implementations§
Source§impl Clone for FeeLineItem
impl Clone for FeeLineItem
Source§fn clone(&self) -> FeeLineItem
fn clone(&self) -> FeeLineItem
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 FeeLineItem
impl Debug for FeeLineItem
Source§impl<'de> Deserialize<'de> for FeeLineItem
impl<'de> Deserialize<'de> for FeeLineItem
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<&FeeLineItem> for FeeLineItem
impl From<&FeeLineItem> for FeeLineItem
Source§fn from(value: &FeeLineItem) -> Self
fn from(value: &FeeLineItem) -> Self
Converts to this type from the input type.
Source§impl From<DeveloperFee> for FeeLineItem
impl From<DeveloperFee> for FeeLineItem
Source§fn from(value: DeveloperFee) -> Self
fn from(value: DeveloperFee) -> Self
Converts to this type from the input type.
Source§impl From<PrivyFee> for FeeLineItem
impl From<PrivyFee> for FeeLineItem
Source§impl From<RelayerFee> for FeeLineItem
impl From<RelayerFee> for FeeLineItem
Source§fn from(value: RelayerFee) -> Self
fn from(value: RelayerFee) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FeeLineItem
impl RefUnwindSafe for FeeLineItem
impl Send for FeeLineItem
impl Sync for FeeLineItem
impl Unpin for FeeLineItem
impl UnsafeUnpin for FeeLineItem
impl UnwindSafe for FeeLineItem
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