pub struct Stream {
pub id: String,
pub title: String,
pub description: String,
pub rules: Vec<StreamRule>,
pub disabled: bool,
pub index_set_id: String,
pub is_default: bool,
pub matching_type: String,
pub remove_matches_from_default_stream: bool,
pub created_at: Option<SystemTime>,
pub creator_user_id: String,
}Expand description
A stream.
Fields§
§id: StringStream id.
title: StringTitle.
description: StringDescription.
rules: Vec<StreamRule>Routing rules.
disabled: boolWhether the stream is paused.
index_set_id: StringTarget index set.
is_default: boolWhether this is the default stream.
matching_type: StringAND or OR.
remove_matches_from_default_stream: boolWhether matches leave the default stream.
created_at: Option<SystemTime>Creation time.
creator_user_id: StringCreator.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stream
impl<'de> Deserialize<'de> for Stream
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 Stream
Auto Trait Implementations§
impl Forget for Stream
impl Freeze for Stream
impl Move for Stream
impl RefUnwindSafe for Stream
impl Send for Stream
impl Sync for Stream
impl Unpin for Stream
impl UnsafeUnpin for Stream
impl UnwindSafe for Stream
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