pub struct RecordedLink {
pub link: ChainLink,
pub recorded_at: Option<DateTime<Utc>>,
}Expand description
One stored chain link plus its server-assigned ingest time: the
input unit for validate_chain.
Fields§
§link: ChainLink§recorded_at: Option<DateTime<Utc>>created_at on the stored row. Used as the reference instant
for time-dependent rules: a revocation is judged against the
clock at its ingest, not the verifier’s clock: by the time
anyone re-walks the chain, the revoked upgrade’s valid_from
has usually passed, and judging it “now” would reject a link
that was perfectly valid when the backend recorded it. None
falls back to the walk’s now.
Trait Implementations§
Source§impl Clone for RecordedLink
impl Clone for RecordedLink
Source§fn clone(&self) -> RecordedLink
fn clone(&self) -> RecordedLink
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 moreAuto Trait Implementations§
impl Freeze for RecordedLink
impl RefUnwindSafe for RecordedLink
impl Send for RecordedLink
impl Sync for RecordedLink
impl Unpin for RecordedLink
impl UnsafeUnpin for RecordedLink
impl UnwindSafe for RecordedLink
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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