Struct ResponseDatapointValueWithoutID
pub struct ResponseDatapointValueWithoutID {
pub latest_value: RestDatapointValueType,
pub timestamp_ns: u64,
pub quality: u16,
}Fields§
§latest_value: RestDatapointValueType§timestamp_ns: u64§quality: u16Trait Implementations§
§impl<'de> Deserialize<'de> for ResponseDatapointValueWithoutID
impl<'de> Deserialize<'de> for ResponseDatapointValueWithoutID
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponseDatapointValueWithoutID, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResponseDatapointValueWithoutID, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for ResponseDatapointValueWithoutID
impl Serialize for ResponseDatapointValueWithoutID
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl ToSchema for ResponseDatapointValueWithoutID
impl ToSchema for ResponseDatapointValueWithoutID
§impl TryFrom<&GCDatapointValue> for ResponseDatapointValueWithoutID
impl TryFrom<&GCDatapointValue> for ResponseDatapointValueWithoutID
§fn try_from(
datapoint: &GCDatapointValue,
) -> Result<ResponseDatapointValueWithoutID, <ResponseDatapointValueWithoutID as TryFrom<&GCDatapointValue>>::Error>
fn try_from( datapoint: &GCDatapointValue, ) -> Result<ResponseDatapointValueWithoutID, <ResponseDatapointValueWithoutID as TryFrom<&GCDatapointValue>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ResponseDatapointValueWithoutID
impl RefUnwindSafe for ResponseDatapointValueWithoutID
impl Send for ResponseDatapointValueWithoutID
impl Sync for ResponseDatapointValueWithoutID
impl Unpin for ResponseDatapointValueWithoutID
impl UnwindSafe for ResponseDatapointValueWithoutID
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more