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