pub struct Alias {
pub routing: Option<String>,
pub search_routing: Option<String>,
pub index_routing: Option<String>,
pub filter: Option<Query>,
pub is_hidden: Option<bool>,
pub is_write_index: Option<bool>,
}Fields§
§routing: Option<String>§search_routing: Option<String>§index_routing: Option<String>§filter: Option<Query>If true, the alias is hidden.
All indexes for the alias must have the same is_hidden value.
is_write_index: Option<bool>If true, the index is the write index for the alias.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Alias
impl<'de> Deserialize<'de> for Alias
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
impl StructuralPartialEq for Alias
Auto Trait Implementations§
impl Freeze for Alias
impl RefUnwindSafe for Alias
impl Send for Alias
impl Sync for Alias
impl Unpin for Alias
impl UnsafeUnpin for Alias
impl UnwindSafe for Alias
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