#[non_exhaustive]pub struct PartialUpdateClusterRequest {
pub cluster: Option<Cluster>,
pub update_mask: Option<FieldMask>,
/* private fields */
}Expand description
Request message for BigtableInstanceAdmin.PartialUpdateCluster.
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.cluster: Option<Cluster>Required. The Cluster which contains the partial updates to be applied, subject to the update_mask.
update_mask: Option<FieldMask>Required. The subset of Cluster fields which should be replaced.
Implementations§
Source§impl PartialUpdateClusterRequest
impl PartialUpdateClusterRequest
pub fn new() -> Self
Sourcepub fn set_cluster<T>(self, v: T) -> Self
pub fn set_cluster<T>(self, v: T) -> Self
Sets the value of cluster.
Sourcepub fn set_or_clear_cluster<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_cluster<T>(self, v: Option<T>) -> Self
Sets or clears the value of cluster.
Sourcepub fn set_update_mask<T>(self, v: T) -> Self
pub fn set_update_mask<T>(self, v: T) -> Self
Sets the value of update_mask.
Sourcepub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_mask<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_mask.
Trait Implementations§
Source§impl Clone for PartialUpdateClusterRequest
impl Clone for PartialUpdateClusterRequest
Source§fn clone(&self) -> PartialUpdateClusterRequest
fn clone(&self) -> PartialUpdateClusterRequest
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 PartialUpdateClusterRequest
impl Debug for PartialUpdateClusterRequest
Source§impl Default for PartialUpdateClusterRequest
impl Default for PartialUpdateClusterRequest
Source§fn default() -> PartialUpdateClusterRequest
fn default() -> PartialUpdateClusterRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for PartialUpdateClusterRequest
Auto Trait Implementations§
impl Freeze for PartialUpdateClusterRequest
impl RefUnwindSafe for PartialUpdateClusterRequest
impl Send for PartialUpdateClusterRequest
impl Sync for PartialUpdateClusterRequest
impl Unpin for PartialUpdateClusterRequest
impl UnwindSafe for PartialUpdateClusterRequest
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