pub struct DataStream {Show 14 fields
pub ilm_policy: Option<String>,
pub indices: Vec<DataStreamIndex>,
pub hidden: Option<bool>,
pub prefer_ilm: Option<bool>,
pub generation: u32,
pub status: HealthStatus,
pub meta: Option<Metadata>,
pub system: Option<bool>,
pub template: String,
pub timestamp_field: DataStreamTimestampField,
pub replicated: Option<bool>,
pub name: String,
pub next_generation_managed_by: Option<String>,
pub allow_custom_routing: Option<bool>,
}Fields§
§ilm_policy: Option<String>§indices: Vec<DataStreamIndex>Array of objects containing information about the data stream’s backing indexes. The last item in this array contains information about the stream’s current write index.
If true, the data stream is hidden.
prefer_ilm: Option<bool>Indicates if ILM should take precedence over DSL in case both are configured to managed this data stream.
generation: u32Current generation for the data stream. This number acts as a cumulative count of the stream’s rollovers, starting at 1.
status: HealthStatus§meta: Option<Metadata>§system: Option<bool>If true, the data stream is created and managed by an OpenSearch stack component and cannot be modified through normal user interaction.
template: String§timestamp_field: DataStreamTimestampField§replicated: Option<bool>If true, the data stream is created and managed by cross-cluster replication and the local cluster can not write into this data stream or change its mappings.
name: String§next_generation_managed_by: Option<String>§allow_custom_routing: Option<bool>If true, the data stream allows custom routing on write request.
Implementations§
Source§impl DataStream
impl DataStream
pub fn new( indices: Vec<DataStreamIndex>, generation: u32, status: HealthStatus, template: String, timestamp_field: DataStreamTimestampField, name: String, ) -> DataStream
Trait Implementations§
Source§impl Clone for DataStream
impl Clone for DataStream
Source§fn clone(&self) -> DataStream
fn clone(&self) -> DataStream
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DataStream
impl Debug for DataStream
Source§impl Default for DataStream
impl Default for DataStream
Source§fn default() -> DataStream
fn default() -> DataStream
Source§impl<'de> Deserialize<'de> for DataStream
impl<'de> Deserialize<'de> for DataStream
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>,
Source§impl PartialEq for DataStream
impl PartialEq for DataStream
Source§fn eq(&self, other: &DataStream) -> bool
fn eq(&self, other: &DataStream) -> bool
self and other values to be equal, and is used by ==.