pub enum Query {
Params {},
Class {
id: String,
},
Classes {
pagination: Option<PageRequest>,
issuer: String,
},
Frozen {
id: String,
class_id: String,
},
ClassFrozen {
class_id: String,
account: String,
},
ClassFrozenAccounts {
pagination: Option<PageRequest>,
class_id: String,
},
Whitelisted {
id: String,
class_id: String,
account: String,
},
WhitelistedAccountsForNFT {
pagination: Option<PageRequest>,
id: String,
class_id: String,
},
ClassWhitelistedAccounts {
pagination: Option<PageRequest>,
class_id: String,
},
BurntNFT {
class_id: String,
nft_id: String,
},
BurntNFTsInClass {
pagination: Option<PageRequest>,
class_id: String,
},
}👎Deprecated: This module is deprecated. Use
types instead.Variants§
Params
👎Deprecated: This module is deprecated. Use
types instead.Class
👎Deprecated: This module is deprecated. Use
types instead.Classes
👎Deprecated: This module is deprecated. Use
types instead.Fields
§
pagination: Option<PageRequest>👎Deprecated: This module is deprecated. Use
types instead.Frozen
👎Deprecated: This module is deprecated. Use
types instead.Fields
ClassFrozen
👎Deprecated: This module is deprecated. Use
types instead.Fields
ClassFrozenAccounts
👎Deprecated: This module is deprecated. Use
types instead.Fields
§
pagination: Option<PageRequest>👎Deprecated: This module is deprecated. Use
types instead.Whitelisted
👎Deprecated: This module is deprecated. Use
types instead.Fields
WhitelistedAccountsForNFT
👎Deprecated: This module is deprecated. Use
types instead.Fields
§
pagination: Option<PageRequest>👎Deprecated: This module is deprecated. Use
types instead.ClassWhitelistedAccounts
👎Deprecated: This module is deprecated. Use
types instead.Fields
§
pagination: Option<PageRequest>👎Deprecated: This module is deprecated. Use
types instead.BurntNFT
👎Deprecated: This module is deprecated. Use
types instead.Fields
BurntNFTsInClass
👎Deprecated: This module is deprecated. Use
types instead.Fields
§
pagination: Option<PageRequest>👎Deprecated: This module is deprecated. Use
types instead.Trait Implementations§
Source§impl<'de> Deserialize<'de> for Query
impl<'de> Deserialize<'de> for Query
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 JsonSchema for Query
impl JsonSchema for Query
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl QueryResponses for Query
impl QueryResponses for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more