pub struct PutSettings {
pub persistent: Option<Value>,
pub transient: Option<Value>,
}Expand description
PutSettings The cluster settings to update.
Fields§
§persistent: Option<Value>§transient: Option<Value>Implementations§
Source§impl PutSettings
impl PutSettings
Sourcepub fn new() -> PutSettings
pub fn new() -> PutSettings
The cluster settings to update.
Trait Implementations§
Source§impl Clone for PutSettings
impl Clone for PutSettings
Source§fn clone(&self) -> PutSettings
fn clone(&self) -> PutSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PutSettings
impl Debug for PutSettings
Source§impl Default for PutSettings
impl Default for PutSettings
Source§fn default() -> PutSettings
fn default() -> PutSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PutSettings
impl<'de> Deserialize<'de> for PutSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PutSettings
impl PartialEq for PutSettings
Source§fn eq(&self, other: &PutSettings) -> bool
fn eq(&self, other: &PutSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PutSettings
impl Serialize for PutSettings
impl StructuralPartialEq for PutSettings
Auto Trait Implementations§
impl Freeze for PutSettings
impl RefUnwindSafe for PutSettings
impl Send for PutSettings
impl Sync for PutSettings
impl Unpin for PutSettings
impl UnsafeUnpin for PutSettings
impl UnwindSafe for PutSettings
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