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