pub struct RelativeTimeInterval {
pub start: i64,
pub duration: Option<i64>,
pub custom_data: Option<CustomData>,
}Fields§
§start: i64Start of the interval, in seconds from NOW.
duration: Option<i64>Duration of the interval, in seconds.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for RelativeTimeInterval
impl Clone for RelativeTimeInterval
Source§impl Debug for RelativeTimeInterval
impl Debug for RelativeTimeInterval
Source§impl<'de> Deserialize<'de> for RelativeTimeInterval
impl<'de> Deserialize<'de> for RelativeTimeInterval
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 RelativeTimeInterval
impl PartialEq for RelativeTimeInterval
Source§impl Serialize for RelativeTimeInterval
impl Serialize for RelativeTimeInterval
impl StructuralPartialEq for RelativeTimeInterval
Auto Trait Implementations§
impl Freeze for RelativeTimeInterval
impl RefUnwindSafe for RelativeTimeInterval
impl Send for RelativeTimeInterval
impl Sync for RelativeTimeInterval
impl Unpin for RelativeTimeInterval
impl UnsafeUnpin for RelativeTimeInterval
impl UnwindSafe for RelativeTimeInterval
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