pub enum TimestampBasis {
Explicit,
Inferred,
SurroundingPage,
None,
}Expand description
Basis for the timestamp attached to a finding (RFC 0001 D4/D8).
Variants§
Explicit
A timestamp the artifact stores explicitly for this record.
Inferred
Derived from adjacent data, not stored for this record directly.
SurroundingPage
Taken from a surrounding page/resource rather than the datum itself.
None
No time basis is available.
Trait Implementations§
Source§impl Clone for TimestampBasis
impl Clone for TimestampBasis
Source§fn clone(&self) -> TimestampBasis
fn clone(&self) -> TimestampBasis
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 moreimpl Copy for TimestampBasis
Source§impl Debug for TimestampBasis
impl Debug for TimestampBasis
Source§impl<'de> Deserialize<'de> for TimestampBasis
impl<'de> Deserialize<'de> for TimestampBasis
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
Source§impl Display for TimestampBasis
impl Display for TimestampBasis
impl Eq for TimestampBasis
Source§impl PartialEq for TimestampBasis
impl PartialEq for TimestampBasis
Source§impl Serialize for TimestampBasis
impl Serialize for TimestampBasis
impl StructuralPartialEq for TimestampBasis
Auto Trait Implementations§
impl Freeze for TimestampBasis
impl RefUnwindSafe for TimestampBasis
impl Send for TimestampBasis
impl Sync for TimestampBasis
impl Unpin for TimestampBasis
impl UnsafeUnpin for TimestampBasis
impl UnwindSafe for TimestampBasis
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