#[non_exhaustive]pub struct CheckConsistencyResponse {
pub consistent: bool,
/* private fields */
}Expand description
Response message for google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency
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.consistent: boolTrue only if the token is consistent. A token is consistent if replication has caught up with the restrictions specified in the request.
Implementations§
Source§impl CheckConsistencyResponse
impl CheckConsistencyResponse
pub fn new() -> Self
Sourcepub fn set_consistent<T: Into<bool>>(self, v: T) -> Self
pub fn set_consistent<T: Into<bool>>(self, v: T) -> Self
Sets the value of consistent.
§Example
ⓘ
let x = CheckConsistencyResponse::new().set_consistent(true);Trait Implementations§
Source§impl Clone for CheckConsistencyResponse
impl Clone for CheckConsistencyResponse
Source§fn clone(&self) -> CheckConsistencyResponse
fn clone(&self) -> CheckConsistencyResponse
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 CheckConsistencyResponse
impl Debug for CheckConsistencyResponse
Source§impl Default for CheckConsistencyResponse
impl Default for CheckConsistencyResponse
Source§fn default() -> CheckConsistencyResponse
fn default() -> CheckConsistencyResponse
Returns the “default value” for a type. Read more
Source§impl Message for CheckConsistencyResponse
impl Message for CheckConsistencyResponse
Source§impl PartialEq for CheckConsistencyResponse
impl PartialEq for CheckConsistencyResponse
impl StructuralPartialEq for CheckConsistencyResponse
Auto Trait Implementations§
impl Freeze for CheckConsistencyResponse
impl RefUnwindSafe for CheckConsistencyResponse
impl Send for CheckConsistencyResponse
impl Sync for CheckConsistencyResponse
impl Unpin for CheckConsistencyResponse
impl UnwindSafe for CheckConsistencyResponse
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