Struct scylla_cql::frame::protocol_features::ProtocolFeatures
source · #[non_exhaustive]pub struct ProtocolFeatures {
pub rate_limit_error: Option<i32>,
pub lwt_optimization_meta_bit_mask: Option<u32>,
pub tablets_v1_supported: bool,
}
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.rate_limit_error: Option<i32>
§lwt_optimization_meta_bit_mask: Option<u32>
§tablets_v1_supported: bool
Implementations§
Trait Implementations§
source§impl Clone for ProtocolFeatures
impl Clone for ProtocolFeatures
source§fn clone(&self) -> ProtocolFeatures
fn clone(&self) -> ProtocolFeatures
Returns a copy 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 ProtocolFeatures
impl Debug for ProtocolFeatures
source§impl Default for ProtocolFeatures
impl Default for ProtocolFeatures
source§fn default() -> ProtocolFeatures
fn default() -> ProtocolFeatures
Returns the “default value” for a type. Read more
source§impl PartialEq for ProtocolFeatures
impl PartialEq for ProtocolFeatures
source§fn eq(&self, other: &ProtocolFeatures) -> bool
fn eq(&self, other: &ProtocolFeatures) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ProtocolFeatures
impl Eq for ProtocolFeatures
impl StructuralPartialEq for ProtocolFeatures
Auto Trait Implementations§
impl Freeze for ProtocolFeatures
impl RefUnwindSafe for ProtocolFeatures
impl Send for ProtocolFeatures
impl Sync for ProtocolFeatures
impl Unpin for ProtocolFeatures
impl UnwindSafe for ProtocolFeatures
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)