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<DeveloperFeeRecipient, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeveloperFeeRecipient, <__D as Deserializer<'de>>::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) -> DeveloperFeeRecipient
fn from(value: &DeveloperFeeRecipient) -> DeveloperFeeRecipient
Converts to this type from the input type.
Source§impl From<TronAddress> for DeveloperFeeRecipient
impl From<TronAddress> for DeveloperFeeRecipient
Source§fn from(value: TronAddress) -> DeveloperFeeRecipient
fn from(value: TronAddress) -> DeveloperFeeRecipient
Converts to this type from the input type.
Source§impl Serialize for DeveloperFeeRecipient
impl Serialize for DeveloperFeeRecipient
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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