pub struct FailedMint {
pub asset_id: Option<Uuid>,
pub error: Option<String>,
pub symbol: Option<String>,
}Expand description
FailedMint
JSON schema
{
"type": "object",
"properties": {
"assetId": {
"description": "Asset UUID",
"examples": [
"123e4567-e89b-12d3-a456-426614174000"
],
"type": [
"string",
"null"
],
"format": "uuid"
},
"error": {
"description": "Error message describing why the mint failed",
"examples": [
"Mint transaction failed"
],
"type": [
"string",
"null"
]
},
"symbol": {
"description": "Token symbol",
"examples": [
"WBTC"
],
"type": [
"string",
"null"
]
}
}
}Fields§
§asset_id: Option<Uuid>Asset UUID
error: Option<String>Error message describing why the mint failed
symbol: Option<String>Token symbol
Trait Implementations§
Source§impl Clone for FailedMint
impl Clone for FailedMint
Source§fn clone(&self) -> FailedMint
fn clone(&self) -> FailedMint
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 FailedMint
impl Debug for FailedMint
Source§impl Default for FailedMint
impl Default for FailedMint
Source§impl<'de> Deserialize<'de> for FailedMint
impl<'de> Deserialize<'de> for FailedMint
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
Auto Trait Implementations§
impl Freeze for FailedMint
impl RefUnwindSafe for FailedMint
impl Send for FailedMint
impl Sync for FailedMint
impl Unpin for FailedMint
impl UnsafeUnpin for FailedMint
impl UnwindSafe for FailedMint
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