pub struct MoonshotSubmitCreateTokenResponse {
pub signature: Option<String>,
pub slot: Option<f64>,
}Expand description
MoonshotSubmitCreateTokenResponse
JSON schema
{
"type": "object",
"properties": {
"signature": {
"description": "Transaction signature",
"examples": [
"5KtPn1LGuxhFiwjxEqHRGrXJZ8wFzNqsV8DYjPZmxhVGwpEgKcdd9dGxPAzEqLXZ9QyjZvxHfYK9QqSf8EGtK4P5"
],
"type": "string"
},
"slot": {
"description": "Block slot number",
"examples": [
234506754
],
"type": "number"
}
}
}Fields§
§signature: Option<String>Transaction signature
slot: Option<f64>Implementations§
Trait Implementations§
Source§impl Clone for MoonshotSubmitCreateTokenResponse
impl Clone for MoonshotSubmitCreateTokenResponse
Source§fn clone(&self) -> MoonshotSubmitCreateTokenResponse
fn clone(&self) -> MoonshotSubmitCreateTokenResponse
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 MoonshotSubmitCreateTokenResponse
impl<'de> Deserialize<'de> for MoonshotSubmitCreateTokenResponse
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<&MoonshotSubmitCreateTokenResponse> for MoonshotSubmitCreateTokenResponse
impl From<&MoonshotSubmitCreateTokenResponse> for MoonshotSubmitCreateTokenResponse
Source§fn from(value: &MoonshotSubmitCreateTokenResponse) -> Self
fn from(value: &MoonshotSubmitCreateTokenResponse) -> Self
Converts to this type from the input type.
Source§impl From<MoonshotSubmitCreateTokenResponse> for MoonshotSubmitCreateTokenResponse
impl From<MoonshotSubmitCreateTokenResponse> for MoonshotSubmitCreateTokenResponse
Source§fn from(value: MoonshotSubmitCreateTokenResponse) -> Self
fn from(value: MoonshotSubmitCreateTokenResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<MoonshotSubmitCreateTokenResponse> for MoonshotSubmitCreateTokenResponse
impl TryFrom<MoonshotSubmitCreateTokenResponse> for MoonshotSubmitCreateTokenResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: MoonshotSubmitCreateTokenResponse,
) -> Result<Self, ConversionError>
fn try_from( value: MoonshotSubmitCreateTokenResponse, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for MoonshotSubmitCreateTokenResponse
impl RefUnwindSafe for MoonshotSubmitCreateTokenResponse
impl Send for MoonshotSubmitCreateTokenResponse
impl Sync for MoonshotSubmitCreateTokenResponse
impl Unpin for MoonshotSubmitCreateTokenResponse
impl UnwindSafe for MoonshotSubmitCreateTokenResponse
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