pub struct Resolution<'m> {
pub disposition: Disposition,
pub variant: Option<Selected<'m>>,
pub as_of: Timestamp,
pub revalidate_after: Timestamp,
}Expand description
What a consumer holds after resolving (doc 02 §2, rev 2.1 G-3).
Fields§
§disposition: DispositionLifecycle disposition at as_of.
variant: Option<Selected<'m>>The selected variant, borrowed from the manifest (zero-copy).
None when the disposition withholds content (revoked) or —
impossible for minted manifests — nothing matched.
as_of: TimestampThe instant this resolution reflects. Always present: resolutions are point-in-time and say so.
revalidate_after: TimestampAdvisory: re-resolve before acting after this instant (G-3).
Trait Implementations§
Source§impl<'m> Clone for Resolution<'m>
impl<'m> Clone for Resolution<'m>
Source§fn clone(&self) -> Resolution<'m>
fn clone(&self) -> Resolution<'m>
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<'m> Debug for Resolution<'m>
impl<'m> Debug for Resolution<'m>
impl<'m> Eq for Resolution<'m>
Source§impl<'m> PartialEq for Resolution<'m>
impl<'m> PartialEq for Resolution<'m>
Source§impl<'m> Serialize for Resolution<'m>
impl<'m> Serialize for Resolution<'m>
impl<'m> StructuralPartialEq for Resolution<'m>
Auto Trait Implementations§
impl<'m> Freeze for Resolution<'m>
impl<'m> RefUnwindSafe for Resolution<'m>
impl<'m> Send for Resolution<'m>
impl<'m> Sync for Resolution<'m>
impl<'m> Unpin for Resolution<'m>
impl<'m> UnsafeUnpin for Resolution<'m>
impl<'m> UnwindSafe for Resolution<'m>
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