pub enum Observed {
Show 15 variants
Null,
Bool(bool),
Int(i64),
Float(f64),
String(String),
Bytes(Vec<u8>),
Timestamp(Timestamp),
Duration(i64, i32),
LatLng(f64, f64),
Path(Vec<Segment>),
Map(Vec<(String, Observed)>),
List(Vec<Observed>),
Set(Vec<Observed>),
MapDiff(Vec<(String, KeyStatus)>),
Constraint(Vec<(Comparator, Observed)>),
}Expand description
A value as debug() logs it and the coverage report counts it: the official emulator’s
value message, which also holds what only rules compute (sets, map diffs, constraints) and
the path segments a list does not know.
Variants§
Null
Bool(bool)
Int(i64)
Float(f64)
String(String)
Bytes(Vec<u8>)
Timestamp(Timestamp)
Duration(i64, i32)
Seconds and nanoseconds, both of the duration’s sign.
LatLng(f64, f64)
Latitude and longitude.
Path(Vec<Segment>)
Map(Vec<(String, Observed)>)
In the map’s order.
List(Vec<Observed>)
Set(Vec<Observed>)
MapDiff(Vec<(String, KeyStatus)>)
Every key of the two maps: the other map’s, in its order, then those only in this one.
Constraint(Vec<(Comparator, Observed)>)
What a list knows of a field: each filter’s comparator and value.
Trait Implementations§
impl Eq for Observed
Auto Trait Implementations§
impl Freeze for Observed
impl RefUnwindSafe for Observed
impl Send for Observed
impl Sync for Observed
impl Unpin for Observed
impl UnsafeUnpin for Observed
impl UnwindSafe for Observed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.