pub struct ConfigureIndexRequest {
pub replicas: usize,
pub pod_type: String,
}
Expand description
Request sent to change the settings / details of an index.
Fields§
§replicas: usize
The desired number of replicas for the index.
pod_type: String
The new pod type for the index. One of s1, p1, or p2 appended with . and one of x1, x2, x4, or x8.
Trait Implementations§
Source§impl Clone for ConfigureIndexRequest
impl Clone for ConfigureIndexRequest
Source§fn clone(&self) -> ConfigureIndexRequest
fn clone(&self) -> ConfigureIndexRequest
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 ConfigureIndexRequest
impl Debug for ConfigureIndexRequest
Source§impl Default for ConfigureIndexRequest
impl Default for ConfigureIndexRequest
Source§fn default() -> ConfigureIndexRequest
fn default() -> ConfigureIndexRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfigureIndexRequest
impl<'de> Deserialize<'de> for ConfigureIndexRequest
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
Auto Trait Implementations§
impl Freeze for ConfigureIndexRequest
impl RefUnwindSafe for ConfigureIndexRequest
impl Send for ConfigureIndexRequest
impl Sync for ConfigureIndexRequest
impl Unpin for ConfigureIndexRequest
impl UnwindSafe for ConfigureIndexRequest
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