pub struct Query {
pub proof: bool,
pub range: Option<(u64, u64)>,
pub commit: Option<Hash>,
pub path: Option<Vec<Vec<u8>>>,
pub token: Option<Redacted>,
}Expand description
The parsed query (§2). The token is opaque here and never printed.
Fields§
§proof: boolproof=1 was present.
range: Option<(u64, u64)>The inclusive proof range a-b.
commit: Option<Hash>The proof context commit.
path: Option<Vec<Vec<u8>>>The proof context path; Some(vec![]) is the root.
token: Option<Redacted>The URL token, held redacted (§6).
Trait Implementations§
impl Eq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin 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