pub struct QueryBody {
pub dcql_query: DcqlQuery,
pub nonce: String,
pub purpose: String,
}Expand description
query/1.0 — verifier → holder. A DCQL query + freshness nonce + a
mandatory purpose shown to the holder.
Fields§
§dcql_query: DcqlQuery§nonce: String§purpose: StringThe verifier’s stated reason for the request — shown to the holder (purpose binding). Never optional.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryBody
impl<'de> Deserialize<'de> for QueryBody
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
Auto Trait Implementations§
impl Freeze for QueryBody
impl RefUnwindSafe for QueryBody
impl Send for QueryBody
impl Sync for QueryBody
impl Unpin for QueryBody
impl UnsafeUnpin for QueryBody
impl UnwindSafe for QueryBody
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