pub enum StructuralEdit {
Point(LogicalPatch),
Subtree {
start_exclusive: Option<Vec<u8>>,
end_inclusive: Vec<u8>,
level: u16,
cid: Option<Cid>,
logical_count: u64,
},
}Variants§
Point(LogicalPatch)
Subtree
Trait Implementations§
Source§impl Clone for StructuralEdit
impl Clone for StructuralEdit
Source§fn clone(&self) -> StructuralEdit
fn clone(&self) -> StructuralEdit
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 Debug for StructuralEdit
impl Debug for StructuralEdit
Source§impl<'de> Deserialize<'de> for StructuralEdit
impl<'de> Deserialize<'de> for StructuralEdit
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 Eq for StructuralEdit
Source§impl PartialEq for StructuralEdit
impl PartialEq for StructuralEdit
Source§impl Serialize for StructuralEdit
impl Serialize for StructuralEdit
impl StructuralPartialEq for StructuralEdit
Auto Trait Implementations§
impl Freeze for StructuralEdit
impl RefUnwindSafe for StructuralEdit
impl Send for StructuralEdit
impl Sync for StructuralEdit
impl Unpin for StructuralEdit
impl UnsafeUnpin for StructuralEdit
impl UnwindSafe for StructuralEdit
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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