pub struct WearChainCheck<'a> {
pub max_age_seconds: Option<i64>,
pub from_proof: Option<&'a str>,
pub challenge: Option<&'a str>,
}Expand description
What a verifier asks of a wear history beyond the links themselves.
Fields§
§max_age_seconds: Option<i64>The newest reading’s attestedAt must be no older than this at now.
None means WEAR_MAX_AGE_SECONDS.
from_proof: Option<&'a str>The proof value the history continues from, when the verifier already
holds the earlier part. Without it the first reading must start the
history (no prevProof).
challenge: Option<&'a str>When given, the newest reading must carry exactly this challenge.
Trait Implementations§
Source§impl<'a> Clone for WearChainCheck<'a>
impl<'a> Clone for WearChainCheck<'a>
Source§impl<'a> Debug for WearChainCheck<'a>
impl<'a> Debug for WearChainCheck<'a>
Auto Trait Implementations§
impl<'a> Forget for WearChainCheck<'a>
impl<'a> Freeze for WearChainCheck<'a>
impl<'a> Move for WearChainCheck<'a>
impl<'a> RefUnwindSafe for WearChainCheck<'a>
impl<'a> Send for WearChainCheck<'a>
impl<'a> Sync for WearChainCheck<'a>
impl<'a> Unpin for WearChainCheck<'a>
impl<'a> UnsafeUnpin for WearChainCheck<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for WearChainCheck<'a>where
&'a str: UnwindSafe,
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