Enum automerge_test::RealizedObject
source · pub enum RealizedObject {
Map(BTreeMap<String, BTreeSet<RealizedObject>>),
Sequence(Vec<BTreeSet<RealizedObject>>),
Value(OrdScalarValue),
}
Expand description
A RealizedObject
is a representation of all the current values in a document - including
conflicts.
Variants§
Map(BTreeMap<String, BTreeSet<RealizedObject>>)
Sequence(Vec<BTreeSet<RealizedObject>>)
Value(OrdScalarValue)
Trait Implementations§
source§impl Debug for RealizedObject
impl Debug for RealizedObject
source§impl From<&str> for RealizedObject
impl From<&str> for RealizedObject
source§impl<I: Into<RealizedObject>> From<BTreeMap<&str, BTreeSet<I, Global>, Global>> for RealizedObject
impl<I: Into<RealizedObject>> From<BTreeMap<&str, BTreeSet<I, Global>, Global>> for RealizedObject
source§impl From<ScalarValue> for RealizedObject
impl From<ScalarValue> for RealizedObject
source§impl<I: Into<RealizedObject>> From<Vec<BTreeSet<I, Global>, Global>> for RealizedObject
impl<I: Into<RealizedObject>> From<Vec<BTreeSet<I, Global>, Global>> for RealizedObject
source§impl From<bool> for RealizedObject
impl From<bool> for RealizedObject
source§impl From<f64> for RealizedObject
impl From<f64> for RealizedObject
source§impl From<i32> for RealizedObject
impl From<i32> for RealizedObject
source§impl From<i64> for RealizedObject
impl From<i64> for RealizedObject
source§impl From<u32> for RealizedObject
impl From<u32> for RealizedObject
source§impl From<u64> for RealizedObject
impl From<u64> for RealizedObject
source§impl From<usize> for RealizedObject
impl From<usize> for RealizedObject
source§impl Hash for RealizedObject
impl Hash for RealizedObject
source§impl Ord for RealizedObject
impl Ord for RealizedObject
source§fn cmp(&self, other: &RealizedObject) -> Ordering
fn cmp(&self, other: &RealizedObject) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<RealizedObject> for RealizedObject
impl PartialEq<RealizedObject> for RealizedObject
source§fn eq(&self, other: &RealizedObject) -> bool
fn eq(&self, other: &RealizedObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<RealizedObject> for RealizedObject
impl PartialOrd<RealizedObject> for RealizedObject
source§fn partial_cmp(&self, other: &RealizedObject) -> Option<Ordering>
fn partial_cmp(&self, other: &RealizedObject) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more