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