pub struct CollectionIndexPolicy {
pub max_active_indexes: usize,
pub max_retained_snapshots: usize,
pub max_descriptors: usize,
pub max_durable_pins: usize,
}Expand description
Semantic collection limits that participate in persisted state.
Fields§
§max_active_indexes: usize§max_retained_snapshots: usize§max_descriptors: usize§max_durable_pins: usizeImplementations§
Trait Implementations§
Source§impl Clone for CollectionIndexPolicy
impl Clone for CollectionIndexPolicy
Source§fn clone(&self) -> CollectionIndexPolicy
fn clone(&self) -> CollectionIndexPolicy
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 CollectionIndexPolicy
impl Debug for CollectionIndexPolicy
Source§impl Default for CollectionIndexPolicy
impl Default for CollectionIndexPolicy
Source§impl<'de> Deserialize<'de> for CollectionIndexPolicy
impl<'de> Deserialize<'de> for CollectionIndexPolicy
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 CollectionIndexPolicy
Source§impl PartialEq for CollectionIndexPolicy
impl PartialEq for CollectionIndexPolicy
Source§impl Serialize for CollectionIndexPolicy
impl Serialize for CollectionIndexPolicy
impl StructuralPartialEq for CollectionIndexPolicy
Auto Trait Implementations§
impl Freeze for CollectionIndexPolicy
impl RefUnwindSafe for CollectionIndexPolicy
impl Send for CollectionIndexPolicy
impl Sync for CollectionIndexPolicy
impl Unpin for CollectionIndexPolicy
impl UnsafeUnpin for CollectionIndexPolicy
impl UnwindSafe for CollectionIndexPolicy
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