#[non_exhaustive]pub struct Consistency {
pub level: Option<ConsistencyLevel>,
pub results: Option<ConsistencyResults>,
pub vectors: Option<ConsistencyVectors>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.level: Option<ConsistencyLevel>§results: Option<ConsistencyResults>§vectors: Option<ConsistencyVectors>Implementations§
Source§impl Consistency
impl Consistency
Trait Implementations§
Source§impl Clone for Consistency
impl Clone for Consistency
Source§fn clone(&self) -> Consistency
fn clone(&self) -> Consistency
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 Consistency
impl Debug for Consistency
Source§impl Default for Consistency
impl Default for Consistency
Source§fn default() -> Consistency
fn default() -> Consistency
Returns the “default value” for a type. Read more
Source§impl PartialEq for Consistency
impl PartialEq for Consistency
Source§impl Serialize for Consistency
impl Serialize for Consistency
impl Eq for Consistency
impl StructuralPartialEq for Consistency
Auto Trait Implementations§
impl Freeze for Consistency
impl RefUnwindSafe for Consistency
impl Send for Consistency
impl Sync for Consistency
impl Unpin for Consistency
impl UnsafeUnpin for Consistency
impl UnwindSafe for Consistency
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