pub struct ListConfig {
pub strategy: ListStrategy,
pub preserve_deleted: bool,
pub max_elements: Option<usize>,
}Expand description
Configuration for list CRDTs
Fields§
§strategy: ListStrategyConflict resolution strategy
preserve_deleted: boolWhether to preserve deleted elements in metadata
max_elements: Option<usize>Maximum number of elements to keep in memory
Trait Implementations§
Source§impl Clone for ListConfig
impl Clone for ListConfig
Source§fn clone(&self) -> ListConfig
fn clone(&self) -> ListConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ListConfig
impl Debug for ListConfig
Source§impl Default for ListConfig
impl Default for ListConfig
Source§impl<'de> Deserialize<'de> for ListConfig
impl<'de> Deserialize<'de> for ListConfig
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
Source§impl PartialEq for ListConfig
impl PartialEq for ListConfig
Source§impl Serialize for ListConfig
impl Serialize for ListConfig
impl Eq for ListConfig
impl StructuralPartialEq for ListConfig
Auto Trait Implementations§
impl Freeze for ListConfig
impl RefUnwindSafe for ListConfig
impl Send for ListConfig
impl Sync for ListConfig
impl Unpin for ListConfig
impl UnwindSafe for ListConfig
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