pub struct ContentRef {
pub store_id: HexId,
pub root: Option<HexId>,
pub retrieval_key: Option<HexId>,
}Expand description
The content item a redirect points at: store_id [+ root [+
retrieval_key]], each lower-case 64-hex — the exact item to re-request.
Fields§
§store_id: HexIdThe store launcher id (always present).
root: Option<HexId>The generation root (present for capsule/resource granularity).
retrieval_key: Option<HexId>The resource retrieval key (present for resource granularity).
Trait Implementations§
Source§impl Clone for ContentRef
impl Clone for ContentRef
Source§fn clone(&self) -> ContentRef
fn clone(&self) -> ContentRef
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 ContentRef
impl Debug for ContentRef
Source§impl Default for ContentRef
impl Default for ContentRef
Source§fn default() -> ContentRef
fn default() -> ContentRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentRef
impl<'de> Deserialize<'de> for ContentRef
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 ContentRef
Source§impl PartialEq for ContentRef
impl PartialEq for ContentRef
Source§impl Serialize for ContentRef
impl Serialize for ContentRef
impl StructuralPartialEq for ContentRef
Auto Trait Implementations§
impl Freeze for ContentRef
impl RefUnwindSafe for ContentRef
impl Send for ContentRef
impl Sync for ContentRef
impl Unpin for ContentRef
impl UnsafeUnpin for ContentRef
impl UnwindSafe for ContentRef
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