pub struct MoonshotCreateTokenReply {
pub extra: Map<String, Value>,
pub serialized_tx: String,
}Expand description
MoonshotCreateTokenReply
JSON schema
{
"type": "object",
"required": [
"extra",
"serializedTx"
],
"properties": {
"extra": {
"description": "DTO.DEX.MOONSHOT.CREATE_TOKEN.EXTRA",
"examples": [
{
"token": {
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"decimals": 9
},
"tokenId": "token_123456"
}
],
"type": "object"
},
"serializedTx": {
"description": "DTO.DEX.MOONSHOT.CREATE_TOKEN.SERIALIZED_TX",
"examples": [
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRgYGpQEDAQIABQcICQoLDA0ODwAAAAAAAAAAAAAQERITFBUWFxgZGhscHR4fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
],
"type": "string"
}
}
}Fields§
§extra: Map<String, Value>DTO.DEX.MOONSHOT.CREATE_TOKEN.EXTRA
serialized_tx: StringDTO.DEX.MOONSHOT.CREATE_TOKEN.SERIALIZED_TX
Implementations§
Source§impl MoonshotCreateTokenReply
impl MoonshotCreateTokenReply
pub fn builder() -> MoonshotCreateTokenReply
Trait Implementations§
Source§impl Clone for MoonshotCreateTokenReply
impl Clone for MoonshotCreateTokenReply
Source§fn clone(&self) -> MoonshotCreateTokenReply
fn clone(&self) -> MoonshotCreateTokenReply
Returns a duplicate of the value. Read more
1.0.0 · 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 MoonshotCreateTokenReply
impl Debug for MoonshotCreateTokenReply
Source§impl<'de> Deserialize<'de> for MoonshotCreateTokenReply
impl<'de> Deserialize<'de> for MoonshotCreateTokenReply
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<&MoonshotCreateTokenReply> for MoonshotCreateTokenReply
impl From<&MoonshotCreateTokenReply> for MoonshotCreateTokenReply
Source§fn from(value: &MoonshotCreateTokenReply) -> Self
fn from(value: &MoonshotCreateTokenReply) -> Self
Converts to this type from the input type.
Source§impl From<MoonshotCreateTokenReply> for MoonshotCreateTokenReply
impl From<MoonshotCreateTokenReply> for MoonshotCreateTokenReply
Source§fn from(value: MoonshotCreateTokenReply) -> Self
fn from(value: MoonshotCreateTokenReply) -> Self
Converts to this type from the input type.
Source§impl Serialize for MoonshotCreateTokenReply
impl Serialize for MoonshotCreateTokenReply
Source§impl TryFrom<MoonshotCreateTokenReply> for MoonshotCreateTokenReply
impl TryFrom<MoonshotCreateTokenReply> for MoonshotCreateTokenReply
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: MoonshotCreateTokenReply) -> Result<Self, ConversionError>
fn try_from(value: MoonshotCreateTokenReply) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MoonshotCreateTokenReply
impl RefUnwindSafe for MoonshotCreateTokenReply
impl Send for MoonshotCreateTokenReply
impl Sync for MoonshotCreateTokenReply
impl Unpin for MoonshotCreateTokenReply
impl UnwindSafe for MoonshotCreateTokenReply
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