pub struct AttestationMetadata {
pub note: Option<String>,
pub timestamp: Option<DateTime<Utc>>,
pub expires_at: Option<DateTime<Utc>>,
}Expand description
Optional extra fields for the attestation commit metadata.
Fields§
§note: Option<String>Free-form note or reason for linking devices, e.g. “added second laptop”.
timestamp: Option<DateTime<Utc>>Optional custom timestamp; if not set, we’ll use Utc::now().
expires_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for AttestationMetadata
impl Clone for AttestationMetadata
Source§fn clone(&self) -> AttestationMetadata
fn clone(&self) -> AttestationMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 AttestationMetadata
impl Debug for AttestationMetadata
Source§impl Default for AttestationMetadata
impl Default for AttestationMetadata
Source§fn default() -> AttestationMetadata
fn default() -> AttestationMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AttestationMetadata
impl RefUnwindSafe for AttestationMetadata
impl Send for AttestationMetadata
impl Sync for AttestationMetadata
impl Unpin for AttestationMetadata
impl UnsafeUnpin for AttestationMetadata
impl UnwindSafe for AttestationMetadata
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