pub struct ListOp<T> {
pub is_explicit: bool,
pub explicit_items: Vec<T>,
pub added_items: Vec<T>,
pub prepended_items: Vec<T>,
pub appended_items: Vec<T>,
pub deleted_items: Vec<T>,
pub ordered_items: Vec<T>,
}Expand description
Value type representing a list-edit operation.
Fields§
§is_explicit: bool§explicit_items: Vec<T>§added_items: Vec<T>§prepended_items: Vec<T>§appended_items: Vec<T>§deleted_items: Vec<T>§ordered_items: Vec<T>Trait Implementations§
Source§impl From<ListOp<Path>> for Value
impl From<ListOp<Path>> for Value
Source§fn from(value: PathListOp) -> Self
fn from(value: PathListOp) -> Self
Converts to this type from the input type.
Source§impl From<ListOp<i64>> for Value
impl From<ListOp<i64>> for Value
Source§fn from(value: Int64ListOp) -> Self
fn from(value: Int64ListOp) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for ListOp<T>
impl<T> RefUnwindSafe for ListOp<T>where
Vec<T>: RefUnwindSafe,
impl<T> Send for ListOp<T>
impl<T> Sync for ListOp<T>
impl<T> Unpin for ListOp<T>
impl<T> UnsafeUnpin for ListOp<T>where
Vec<T>: UnsafeUnpin,
impl<T> UnwindSafe for ListOp<T>where
Vec<T>: UnwindSafe,
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