pub enum NodeQuery {
Metadata {
query: DataQuery,
auth: ServiceAuth,
origin: EndUser,
},
Data {
query: DataQuery,
auth: ServiceAuth,
origin: EndUser,
},
}
Expand description
Query originating at a node
Variants
Metadata
Fields
query: DataQuery
The actual query message
auth: ServiceAuth
Client signature
origin: EndUser
The user that has initiated this query
Metadata is handled by Elders
Data
Fields
query: DataQuery
The query
auth: ServiceAuth
Client signature
origin: EndUser
The user that has initiated this query
Data is handled by Adults
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for NodeQuery
impl UnwindSafe for NodeQuery
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more