pub enum RawSourceObservationStateWireV1<T> {
Observed {
value: T,
},
ProvenAbsent,
Unavailable {
reason: RawSourceUnavailableReasonV1,
},
}Expand description
Availability and value of one raw-source scalar observation.
Variants§
Observed
Exact observed value.
Fields
§
value: TTyped observed value.
ProvenAbsent
Complete evidence proves absence.
The value could not be established.
Trait Implementations§
Source§impl<T: Clone> Clone for RawSourceObservationStateWireV1<T>
impl<T: Clone> Clone for RawSourceObservationStateWireV1<T>
Source§fn clone(&self) -> RawSourceObservationStateWireV1<T>
fn clone(&self) -> RawSourceObservationStateWireV1<T>
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<T: Debug> Debug for RawSourceObservationStateWireV1<T>
impl<T: Debug> Debug for RawSourceObservationStateWireV1<T>
Source§impl<'de, T> Deserialize<'de> for RawSourceObservationStateWireV1<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for RawSourceObservationStateWireV1<T>where
T: Deserialize<'de>,
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
impl<T: Eq> Eq for RawSourceObservationStateWireV1<T>
Source§impl<T: PartialEq> PartialEq for RawSourceObservationStateWireV1<T>
impl<T: PartialEq> PartialEq for RawSourceObservationStateWireV1<T>
Source§impl<T> Serialize for RawSourceObservationStateWireV1<T>where
T: Serialize,
impl<T> Serialize for RawSourceObservationStateWireV1<T>where
T: Serialize,
impl<T: PartialEq> StructuralPartialEq for RawSourceObservationStateWireV1<T>
Auto Trait Implementations§
impl<T> Freeze for RawSourceObservationStateWireV1<T>where
T: Freeze,
impl<T> RefUnwindSafe for RawSourceObservationStateWireV1<T>where
T: RefUnwindSafe,
impl<T> Send for RawSourceObservationStateWireV1<T>where
T: Send,
impl<T> Sync for RawSourceObservationStateWireV1<T>where
T: Sync,
impl<T> Unpin for RawSourceObservationStateWireV1<T>where
T: Unpin,
impl<T> UnsafeUnpin for RawSourceObservationStateWireV1<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RawSourceObservationStateWireV1<T>where
T: UnwindSafe,
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