pub enum QueryMsg {
Config {},
ListAccounts {},
Account {
chain: String,
account_id: u32,
},
LatestQueryResult {
chain: String,
account_id: u32,
},
ListChannels {},
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for QueryMsg
impl<'de> Deserialize<'de> for QueryMsg
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<QueryMsg, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<QueryMsg, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for QueryMsg
impl JsonSchema for QueryMsg
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &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 PartialEq<QueryMsg> for QueryMsg
impl PartialEq<QueryMsg> for QueryMsg
source§impl QueryResponses for QueryMsg
impl QueryResponses for QueryMsg
fn response_schemas_impl() -> BTreeMap<String, RootSchema, Global>
fn response_schemas( ) -> Result<BTreeMap<String, RootSchema, Global>, IntegrityError>
source§impl Serialize for QueryMsg
impl Serialize for QueryMsg
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for QueryMsg
Auto Trait Implementations§
impl RefUnwindSafe for QueryMsg
impl Send for QueryMsg
impl Sync for QueryMsg
impl Unpin for QueryMsg
impl UnwindSafe for QueryMsg
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request