pub struct DateTime {
pub date_time: u64,
}Fields§
§date_time: u64Implementations§
Trait Implementations§
Source§impl From<DateTime> for DataSetValue
impl From<DateTime> for DataSetValue
Source§impl From<DateTime> for MetricValue
impl From<DateTime> for MetricValue
Source§impl From<DateTime> for ParameterValue
impl From<DateTime> for ParameterValue
Source§impl From<DateTime> for PropertyValue
impl From<DateTime> for PropertyValue
Source§impl HasDataType for DateTime
impl HasDataType for DateTime
Source§fn supported_datatypes() -> &'static [DataType]
fn supported_datatypes() -> &'static [DataType]
Get all the Sparkplug crate::payload::DataType’s the type supports
Source§fn default_datatype() -> DataType
fn default_datatype() -> DataType
Default crate::payload::DataType the type maps to
Source§impl MetricValue for DateTime
impl MetricValue for DateTime
fn birth_metadata(&self) -> Option<MetaData>
fn publish_metadata(&self) -> Option<MetaData>
Source§impl TryFrom<DataSetValue> for DateTime
impl TryFrom<DataSetValue> for DateTime
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<MetricValue> for DateTime
impl TryFrom<MetricValue> for DateTime
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<ParameterValue> for DateTime
impl TryFrom<ParameterValue> for DateTime
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
Source§impl TryFrom<PropertyValue> for DateTime
impl TryFrom<PropertyValue> for DateTime
Source§type Error = FromValueTypeError
type Error = FromValueTypeError
The type returned in the event of a conversion error.
impl DataSetValue for DateTime
impl ParameterValue for DateTime
impl PropertyValue for DateTime
impl StructuralPartialEq for DateTime
Auto Trait Implementations§
impl Freeze for DateTime
impl RefUnwindSafe for DateTime
impl Send for DateTime
impl Sync for DateTime
impl Unpin for DateTime
impl UnwindSafe for DateTime
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