pub struct DataStreamTimestamp {
pub enabled: bool,
}Fields§
§enabled: boolImplementations§
Source§impl DataStreamTimestamp
impl DataStreamTimestamp
pub fn new(enabled: bool) -> DataStreamTimestamp
Trait Implementations§
Source§impl Clone for DataStreamTimestamp
impl Clone for DataStreamTimestamp
Source§fn clone(&self) -> DataStreamTimestamp
fn clone(&self) -> DataStreamTimestamp
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 DataStreamTimestamp
impl Debug for DataStreamTimestamp
Source§impl Default for DataStreamTimestamp
impl Default for DataStreamTimestamp
Source§fn default() -> DataStreamTimestamp
fn default() -> DataStreamTimestamp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataStreamTimestamp
impl<'de> Deserialize<'de> for DataStreamTimestamp
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 DataStreamTimestamp
impl PartialEq for DataStreamTimestamp
Source§fn eq(&self, other: &DataStreamTimestamp) -> bool
fn eq(&self, other: &DataStreamTimestamp) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DataStreamTimestamp
impl Serialize for DataStreamTimestamp
impl StructuralPartialEq for DataStreamTimestamp
Auto Trait Implementations§
impl Freeze for DataStreamTimestamp
impl RefUnwindSafe for DataStreamTimestamp
impl Send for DataStreamTimestamp
impl Sync for DataStreamTimestamp
impl Unpin for DataStreamTimestamp
impl UnsafeUnpin for DataStreamTimestamp
impl UnwindSafe for DataStreamTimestamp
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