Enum desmos_bindings::query::DesmosQuery
source · [−]pub enum DesmosQuery {
Profiles(ProfilesQuery),
Subspaces(SubspacesQuery),
Relationships(RelationshipsQuery),
Posts(PostsQuery),
Reactions(ReactionsQuery),
Reports(ReportsQuery),
}
Expand description
Enum that defines how the desmos query messages are serialized.
Variants
Profiles(ProfilesQuery)
Queries relative to the x/profiles module.
Subspaces(SubspacesQuery)
Queries relative to the x/subspaces module.
Relationships(RelationshipsQuery)
Queries relative to the x/relationships module.
Posts(PostsQuery)
Queries relative to the x/posts module.
Reactions(ReactionsQuery)
Queries relative to the x/reactions module.
Reports(ReportsQuery)
Queries relative to the x/reports module.
Trait Implementations
sourceimpl Clone for DesmosQuery
impl Clone for DesmosQuery
sourcefn clone(&self) -> DesmosQuery
fn clone(&self) -> DesmosQuery
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DesmosQuery
impl Debug for DesmosQuery
sourceimpl<'de> Deserialize<'de> for DesmosQuery
impl<'de> Deserialize<'de> for DesmosQuery
sourcefn 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
sourceimpl From<PostsQuery> for DesmosQuery
impl From<PostsQuery> for DesmosQuery
sourcefn from(query: PostsQuery) -> Self
fn from(query: PostsQuery) -> Self
Converts to this type from the input type.
sourceimpl From<ProfilesQuery> for DesmosQuery
impl From<ProfilesQuery> for DesmosQuery
sourcefn from(query: ProfilesQuery) -> Self
fn from(query: ProfilesQuery) -> Self
Converts to this type from the input type.
sourceimpl From<ReactionsQuery> for DesmosQuery
impl From<ReactionsQuery> for DesmosQuery
sourcefn from(query: ReactionsQuery) -> Self
fn from(query: ReactionsQuery) -> Self
Converts to this type from the input type.
sourceimpl From<RelationshipsQuery> for DesmosQuery
impl From<RelationshipsQuery> for DesmosQuery
sourcefn from(query: RelationshipsQuery) -> Self
fn from(query: RelationshipsQuery) -> Self
Converts to this type from the input type.
sourceimpl From<ReportsQuery> for DesmosQuery
impl From<ReportsQuery> for DesmosQuery
sourcefn from(query: ReportsQuery) -> Self
fn from(query: ReportsQuery) -> Self
Converts to this type from the input type.
sourceimpl From<SubspacesQuery> for DesmosQuery
impl From<SubspacesQuery> for DesmosQuery
sourcefn from(query: SubspacesQuery) -> Self
fn from(query: SubspacesQuery) -> Self
Converts to this type from the input type.
sourceimpl JsonSchema for DesmosQuery
impl JsonSchema for DesmosQuery
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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 more
sourceimpl PartialEq<DesmosQuery> for DesmosQuery
impl PartialEq<DesmosQuery> for DesmosQuery
sourcefn eq(&self, other: &DesmosQuery) -> bool
fn eq(&self, other: &DesmosQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DesmosQuery) -> bool
fn ne(&self, other: &DesmosQuery) -> bool
This method tests for !=
.
sourceimpl Serialize for DesmosQuery
impl Serialize for DesmosQuery
impl CustomQuery for DesmosQuery
impl StructuralPartialEq for DesmosQuery
Auto Trait Implementations
impl RefUnwindSafe for DesmosQuery
impl Send for DesmosQuery
impl Sync for DesmosQuery
impl Unpin for DesmosQuery
impl UnwindSafe for DesmosQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more