pub struct MintTokensResponse {
pub failed: Option<Vec<FailedMint>>,
pub minted: Option<Vec<MintedToken>>,
pub remaining_requests_24h: Option<u32>,
}Expand description
MintTokensResponse
JSON schema
{
"type": "object",
"properties": {
"failed": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/FailedMint"
}
},
"minted": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/MintedToken"
}
},
"remaining_requests_24h": {
"description": "Remaining faucet requests in next 24h",
"examples": [
4
],
"type": [
"integer",
"null"
],
"format": "uint32"
}
}
}Fields§
§failed: Option<Vec<FailedMint>>§minted: Option<Vec<MintedToken>>§remaining_requests_24h: Option<u32>Remaining faucet requests in next 24h
Trait Implementations§
Source§impl Clone for MintTokensResponse
impl Clone for MintTokensResponse
Source§fn clone(&self) -> MintTokensResponse
fn clone(&self) -> MintTokensResponse
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 MintTokensResponse
impl Debug for MintTokensResponse
Source§impl Default for MintTokensResponse
impl Default for MintTokensResponse
Source§impl<'de> Deserialize<'de> for MintTokensResponse
impl<'de> Deserialize<'de> for MintTokensResponse
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 MintTokensResponse
impl RefUnwindSafe for MintTokensResponse
impl Send for MintTokensResponse
impl Sync for MintTokensResponse
impl Unpin for MintTokensResponse
impl UnsafeUnpin for MintTokensResponse
impl UnwindSafe for MintTokensResponse
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