#[repr(u8)]pub enum DayOffsets {
One = 0,
Ninety = 1,
}Expand description
Day offsets are 1 or 90, this makes it easier to parse with Clap
Variants§
One = 0
VirusTotal data from one day ago
Ninety = 1
VirusTotal data from 90 days ago, and download the samples
Trait Implementations§
Source§impl Clone for DayOffsets
impl Clone for DayOffsets
Source§fn clone(&self) -> DayOffsets
fn clone(&self) -> DayOffsets
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 DayOffsets
Source§impl Debug for DayOffsets
impl Debug for DayOffsets
Source§impl Default for DayOffsets
impl Default for DayOffsets
Source§fn default() -> DayOffsets
fn default() -> DayOffsets
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DayOffsets
impl<'de> Deserialize<'de> for DayOffsets
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 DayOffsets
impl Display for DayOffsets
Source§impl From<DayOffsets> for u8
impl From<DayOffsets> for u8
Source§fn from(val: DayOffsets) -> Self
fn from(val: DayOffsets) -> Self
Converts to this type from the input type.
Source§impl FromStr for DayOffsets
impl FromStr for DayOffsets
Source§impl PartialEq for DayOffsets
impl PartialEq for DayOffsets
impl StructuralPartialEq for DayOffsets
Auto Trait Implementations§
impl Freeze for DayOffsets
impl RefUnwindSafe for DayOffsets
impl Send for DayOffsets
impl Sync for DayOffsets
impl Unpin for DayOffsets
impl UnsafeUnpin for DayOffsets
impl UnwindSafe for DayOffsets
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.