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>>> for RealizedObject
impl<I: Into<RealizedObject>> From<BTreeMap<&str, BTreeSet<I>>> for RealizedObject
Source§impl From<ScalarValue> for RealizedObject
impl From<ScalarValue> for RealizedObject
Source§fn from(s: ScalarValue) -> Self
fn from(s: ScalarValue) -> Self
Converts to this type from the input type.
Source§impl<I: Into<RealizedObject>> From<Vec<BTreeSet<I>>> for RealizedObject
impl<I: Into<RealizedObject>> From<Vec<BTreeSet<I>>> 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 for RealizedObject
impl PartialEq for RealizedObject
Source§impl PartialOrd for RealizedObject
impl PartialOrd for RealizedObject
Source§impl Serialize for RealizedObject
impl Serialize for RealizedObject
impl Eq for RealizedObject
impl StructuralPartialEq for RealizedObject
Auto Trait Implementations§
impl Freeze for RealizedObject
impl RefUnwindSafe for RealizedObject
impl Send for RealizedObject
impl Sync for RealizedObject
impl Unpin for RealizedObject
impl UnwindSafe for RealizedObject
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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