#[non_exhaustive]pub struct UpdateParametersRequest {
pub name: String,
pub update_mask: Option<FieldMask>,
pub parameters: Option<MemcacheParameters>,
/* private fields */
}Expand description
Request for UpdateParameters.
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.name: StringRequired. Resource name of the Memcached instance for which the parameters should be updated.
update_mask: Option<FieldMask>Required. Mask of fields to update.
parameters: Option<MemcacheParameters>The parameters to apply to the instance.
Implementations§
Source§impl UpdateParametersRequest
impl UpdateParametersRequest
pub fn new() -> Self
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.
Sourcepub fn set_parameters<T>(self, v: T) -> Selfwhere
T: Into<MemcacheParameters>,
pub fn set_parameters<T>(self, v: T) -> Selfwhere
T: Into<MemcacheParameters>,
Sets the value of parameters.
Sourcepub fn set_or_clear_parameters<T>(self, v: Option<T>) -> Selfwhere
T: Into<MemcacheParameters>,
pub fn set_or_clear_parameters<T>(self, v: Option<T>) -> Selfwhere
T: Into<MemcacheParameters>,
Sets or clears the value of parameters.
Trait Implementations§
Source§impl Clone for UpdateParametersRequest
impl Clone for UpdateParametersRequest
Source§fn clone(&self) -> UpdateParametersRequest
fn clone(&self) -> UpdateParametersRequest
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 UpdateParametersRequest
impl Debug for UpdateParametersRequest
Source§impl Default for UpdateParametersRequest
impl Default for UpdateParametersRequest
Source§fn default() -> UpdateParametersRequest
fn default() -> UpdateParametersRequest
Returns the “default value” for a type. Read more
Source§impl Message for UpdateParametersRequest
impl Message for UpdateParametersRequest
Source§impl PartialEq for UpdateParametersRequest
impl PartialEq for UpdateParametersRequest
impl StructuralPartialEq for UpdateParametersRequest
Auto Trait Implementations§
impl Freeze for UpdateParametersRequest
impl RefUnwindSafe for UpdateParametersRequest
impl Send for UpdateParametersRequest
impl Sync for UpdateParametersRequest
impl Unpin for UpdateParametersRequest
impl UnwindSafe for UpdateParametersRequest
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