pub struct Clustering {
pub number_of_shards: Option<i32>,
pub regex_rules: Option<Vec<RegexRule>>,
pub hashing_policy: Option<String>,
}Expand description
Clustering configuration (response)
Fields§
§number_of_shards: Option<i32>Number of shards
regex_rules: Option<Vec<RegexRule>>Regex rules for custom hashing
hashing_policy: Option<String>Hashing policy
Trait Implementations§
Source§impl Clone for Clustering
impl Clone for Clustering
Source§fn clone(&self) -> Clustering
fn clone(&self) -> Clustering
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 Clustering
impl Debug for Clustering
Source§impl<'de> Deserialize<'de> for Clustering
impl<'de> Deserialize<'de> for Clustering
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 Clustering
impl RefUnwindSafe for Clustering
impl Send for Clustering
impl Sync for Clustering
impl Unpin for Clustering
impl UnwindSafe for Clustering
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