pub struct AvailabilityQuery {
pub store_id: HexId,
pub root: Option<HexId>,
pub retrieval_key: Option<HexId>,
}Expand description
One availability query item. Granularity is inferred from which fields are
present: store_id only ⇒ which roots are held; +root ⇒ a capsule; +root +retrieval_key ⇒ a resource.
Fields§
§store_id: HexIdThe store launcher id (64-hex, required).
root: Option<HexId>The generation root (64-hex), for capsule/resource granularity.
retrieval_key: Option<HexId>The resource retrieval key (64-hex), for resource granularity.
Trait Implementations§
Source§impl Clone for AvailabilityQuery
impl Clone for AvailabilityQuery
Source§fn clone(&self) -> AvailabilityQuery
fn clone(&self) -> AvailabilityQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AvailabilityQuery
impl Debug for AvailabilityQuery
Source§impl<'de> Deserialize<'de> for AvailabilityQuery
impl<'de> Deserialize<'de> for AvailabilityQuery
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
impl Eq for AvailabilityQuery
Source§impl PartialEq for AvailabilityQuery
impl PartialEq for AvailabilityQuery
Source§impl Serialize for AvailabilityQuery
impl Serialize for AvailabilityQuery
impl StructuralPartialEq for AvailabilityQuery
Auto Trait Implementations§
impl Freeze for AvailabilityQuery
impl RefUnwindSafe for AvailabilityQuery
impl Send for AvailabilityQuery
impl Sync for AvailabilityQuery
impl Unpin for AvailabilityQuery
impl UnsafeUnpin for AvailabilityQuery
impl UnwindSafe for AvailabilityQuery
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