Enum aper::data_structures::ListOperation
source · [−]pub enum ListOperation<T: StateMachine + PartialEq> {
Insert(ListPosition, Uuid, T),
Delete(Uuid),
Move(Uuid, ZenoIndex),
Apply(Uuid, <T as StateMachine>::Transition),
}
Variants
Insert(ListPosition, Uuid, T)
Delete(Uuid)
Move(Uuid, ZenoIndex)
Apply(Uuid, <T as StateMachine>::Transition)
Trait Implementations
sourceimpl<T: Clone + StateMachine + PartialEq> Clone for ListOperation<T>
impl<T: Clone + StateMachine + PartialEq> Clone for ListOperation<T>
sourcefn clone(&self) -> ListOperation<T>
fn clone(&self) -> ListOperation<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T: Debug + StateMachine + PartialEq> Debug for ListOperation<T>
impl<T: Debug + StateMachine + PartialEq> Debug for ListOperation<T>
sourceimpl<'de, T: StateMachine + PartialEq> Deserialize<'de> for ListOperation<T>
impl<'de, T: StateMachine + PartialEq> Deserialize<'de> for ListOperation<T>
sourcefn 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
sourceimpl<T: PartialEq + StateMachine + PartialEq> PartialEq<ListOperation<T>> for ListOperation<T>
impl<T: PartialEq + StateMachine + PartialEq> PartialEq<ListOperation<T>> for ListOperation<T>
sourcefn eq(&self, other: &ListOperation<T>) -> bool
fn eq(&self, other: &ListOperation<T>) -> bool
sourceimpl<T: StateMachine + PartialEq> Serialize for ListOperation<T>
impl<T: StateMachine + PartialEq> Serialize for ListOperation<T>
impl<T: StateMachine + PartialEq> StructuralPartialEq for ListOperation<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for ListOperation<T>where
T: RefUnwindSafe,
<T as StateMachine>::Transition: RefUnwindSafe,
impl<T> Send for ListOperation<T>where
T: Send,
<T as StateMachine>::Transition: Send,
impl<T> Sync for ListOperation<T>where
T: Sync,
<T as StateMachine>::Transition: Sync,
impl<T> Unpin for ListOperation<T>where
T: Unpin,
<T as StateMachine>::Transition: Unpin,
impl<T> UnwindSafe for ListOperation<T>where
T: UnwindSafe,
<T as StateMachine>::Transition: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more