pub struct PointInTimeReference {
pub keep_alive: Option<String>,
pub id: String,
}Fields§
§keep_alive: Option<String>A duration. Units can be nanos, micros, ms (milliseconds), s (seconds), m (minutes), h (hours) and
d (days). Also accepts “0” without a unit and “-1” to indicate an unspecified value.
id: StringImplementations§
Source§impl PointInTimeReference
impl PointInTimeReference
pub fn new(id: String) -> PointInTimeReference
Trait Implementations§
Source§impl Clone for PointInTimeReference
impl Clone for PointInTimeReference
Source§fn clone(&self) -> PointInTimeReference
fn clone(&self) -> PointInTimeReference
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 moreSource§impl Debug for PointInTimeReference
impl Debug for PointInTimeReference
Source§impl Default for PointInTimeReference
impl Default for PointInTimeReference
Source§fn default() -> PointInTimeReference
fn default() -> PointInTimeReference
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PointInTimeReference
impl<'de> Deserialize<'de> for PointInTimeReference
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 PointInTimeReference
impl PartialEq for PointInTimeReference
Source§fn eq(&self, other: &PointInTimeReference) -> bool
fn eq(&self, other: &PointInTimeReference) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PointInTimeReference
impl Serialize for PointInTimeReference
impl StructuralPartialEq for PointInTimeReference
Auto Trait Implementations§
impl Freeze for PointInTimeReference
impl RefUnwindSafe for PointInTimeReference
impl Send for PointInTimeReference
impl Sync for PointInTimeReference
impl Unpin for PointInTimeReference
impl UnsafeUnpin for PointInTimeReference
impl UnwindSafe for PointInTimeReference
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