pub struct EarliestTimestamp {
pub datetime: Option<String>,
pub unix_time: Option<i64>,
}Fields§
§datetime: Option<String>Earliest datetime, the format depends on interval
unix_time: Option<i64>Datetime converted to UNIX timestamp
Implementations§
Source§impl EarliestTimestamp
impl EarliestTimestamp
pub fn new() -> EarliestTimestamp
Trait Implementations§
Source§impl Clone for EarliestTimestamp
impl Clone for EarliestTimestamp
Source§fn clone(&self) -> EarliestTimestamp
fn clone(&self) -> EarliestTimestamp
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 EarliestTimestamp
impl Debug for EarliestTimestamp
Source§impl Default for EarliestTimestamp
impl Default for EarliestTimestamp
Source§fn default() -> EarliestTimestamp
fn default() -> EarliestTimestamp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EarliestTimestamp
impl<'de> Deserialize<'de> for EarliestTimestamp
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 PartialEq for EarliestTimestamp
impl PartialEq for EarliestTimestamp
Source§impl Serialize for EarliestTimestamp
impl Serialize for EarliestTimestamp
impl StructuralPartialEq for EarliestTimestamp
Auto Trait Implementations§
impl Freeze for EarliestTimestamp
impl RefUnwindSafe for EarliestTimestamp
impl Send for EarliestTimestamp
impl Sync for EarliestTimestamp
impl Unpin for EarliestTimestamp
impl UnwindSafe for EarliestTimestamp
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