pub struct Query {
pub descriptor: QueryDescriptor,
pub authorization: Option<Authorization>,
}Expand description
The Query message expected by the handler.
Fields§
§descriptor: QueryDescriptorThe Query descriptor.
The message authorization.
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 Message for Query
impl Message for Query
Source§type Reply = QueryReply
type Reply = QueryReply
The inner reply type specific to the implementing message.
Source§fn descriptor(&self) -> &Descriptor
fn descriptor(&self) -> &Descriptor
Returns message descriptor properties common to all messages (i.e.,
interface, method, and message_timestamp).Returns the messages’s authorization, when set.
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