pub enum PrivyFeeRecipient {
Variant0(String),
Variant1(String),
Variant2(TronAddress),
}Expand description
PrivyFeeRecipient
JSON schema
{
"oneOf": [
{
"type": "string"
},
{
"type": "string"
},
{
"$ref": "#/components/schemas/TronAddress"
}
]
}Variants§
Trait Implementations§
Source§impl Clone for PrivyFeeRecipient
impl Clone for PrivyFeeRecipient
Source§fn clone(&self) -> PrivyFeeRecipient
fn clone(&self) -> PrivyFeeRecipient
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 PrivyFeeRecipient
impl Debug for PrivyFeeRecipient
Source§impl<'de> Deserialize<'de> for PrivyFeeRecipient
impl<'de> Deserialize<'de> for PrivyFeeRecipient
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 Display for PrivyFeeRecipient
impl Display for PrivyFeeRecipient
Source§impl From<&PrivyFeeRecipient> for PrivyFeeRecipient
impl From<&PrivyFeeRecipient> for PrivyFeeRecipient
Source§fn from(value: &PrivyFeeRecipient) -> Self
fn from(value: &PrivyFeeRecipient) -> Self
Converts to this type from the input type.
Source§impl From<TronAddress> for PrivyFeeRecipient
impl From<TronAddress> for PrivyFeeRecipient
Source§fn from(value: TronAddress) -> Self
fn from(value: TronAddress) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PrivyFeeRecipient
impl RefUnwindSafe for PrivyFeeRecipient
impl Send for PrivyFeeRecipient
impl Sync for PrivyFeeRecipient
impl Unpin for PrivyFeeRecipient
impl UnsafeUnpin for PrivyFeeRecipient
impl UnwindSafe for PrivyFeeRecipient
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