Enum abstract_os::api::ApiQueryMsg
source · [−]pub enum ApiQueryMsg<Q: Serialize = Empty> {
Api(Q),
Base(BaseQueryMsg),
}Variants
Api(Q)
An API request. Forwards the msg to the associated proxy.
Base(BaseQueryMsg)
A configuration message to whitelist traders.
Trait Implementations
sourceimpl<Q: Clone + Serialize> Clone for ApiQueryMsg<Q>
impl<Q: Clone + Serialize> Clone for ApiQueryMsg<Q>
sourcefn clone(&self) -> ApiQueryMsg<Q>
fn clone(&self) -> ApiQueryMsg<Q>
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<Q: Debug + Serialize> Debug for ApiQueryMsg<Q>
impl<Q: Debug + Serialize> Debug for ApiQueryMsg<Q>
sourceimpl<'de, Q: Serialize> Deserialize<'de> for ApiQueryMsg<Q>where
Q: Deserialize<'de>,
impl<'de, Q: Serialize> Deserialize<'de> for ApiQueryMsg<Q>where
Q: Deserialize<'de>,
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<Q: Serialize + JsonSchema> JsonSchema for ApiQueryMsg<Q>
impl<Q: Serialize + JsonSchema> JsonSchema for ApiQueryMsg<Q>
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<Q: PartialEq + Serialize> PartialEq<ApiQueryMsg<Q>> for ApiQueryMsg<Q>
impl<Q: PartialEq + Serialize> PartialEq<ApiQueryMsg<Q>> for ApiQueryMsg<Q>
sourcefn eq(&self, other: &ApiQueryMsg<Q>) -> bool
fn eq(&self, other: &ApiQueryMsg<Q>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl<Q: Serialize> Serialize for ApiQueryMsg<Q>where
Q: Serialize,
impl<Q: Serialize> Serialize for ApiQueryMsg<Q>where
Q: Serialize,
impl<Q: Eq + Serialize> Eq for ApiQueryMsg<Q>
impl<Q: Serialize> StructuralEq for ApiQueryMsg<Q>
impl<Q: Serialize> StructuralPartialEq for ApiQueryMsg<Q>
Auto Trait Implementations
impl<Q> RefUnwindSafe for ApiQueryMsg<Q>where
Q: RefUnwindSafe,
impl<Q> Send for ApiQueryMsg<Q>where
Q: Send,
impl<Q> Sync for ApiQueryMsg<Q>where
Q: Sync,
impl<Q> Unpin for ApiQueryMsg<Q>where
Q: Unpin,
impl<Q> UnwindSafe for ApiQueryMsg<Q>where
Q: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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