#[non_exhaustive]pub struct ApplyParametersRequest {
pub name: String,
pub node_ids: Vec<String>,
pub apply_all: bool,
/* private fields */
}Expand description
Request for ApplyParameters.
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 parameter group updates should be applied.
node_ids: Vec<String>Nodes to which the instance-level parameter group is applied.
apply_all: boolWhether to apply instance-level parameter group to all nodes. If set to
true, users are restricted from specifying individual nodes, and
ApplyParameters updates all nodes within the instance.
Implementations§
Source§impl ApplyParametersRequest
impl ApplyParametersRequest
pub fn new() -> Self
Sourcepub fn set_node_ids<T, V>(self, v: T) -> Self
pub fn set_node_ids<T, V>(self, v: T) -> Self
Sets the value of node_ids.
Sourcepub fn set_apply_all<T: Into<bool>>(self, v: T) -> Self
pub fn set_apply_all<T: Into<bool>>(self, v: T) -> Self
Sets the value of apply_all.
Trait Implementations§
Source§impl Clone for ApplyParametersRequest
impl Clone for ApplyParametersRequest
Source§fn clone(&self) -> ApplyParametersRequest
fn clone(&self) -> ApplyParametersRequest
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 ApplyParametersRequest
impl Debug for ApplyParametersRequest
Source§impl Default for ApplyParametersRequest
impl Default for ApplyParametersRequest
Source§fn default() -> ApplyParametersRequest
fn default() -> ApplyParametersRequest
Returns the “default value” for a type. Read more
Source§impl Message for ApplyParametersRequest
impl Message for ApplyParametersRequest
Source§impl PartialEq for ApplyParametersRequest
impl PartialEq for ApplyParametersRequest
impl StructuralPartialEq for ApplyParametersRequest
Auto Trait Implementations§
impl Freeze for ApplyParametersRequest
impl RefUnwindSafe for ApplyParametersRequest
impl Send for ApplyParametersRequest
impl Sync for ApplyParametersRequest
impl Unpin for ApplyParametersRequest
impl UnwindSafe for ApplyParametersRequest
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