Enum egg_mode::stream::FilterLevel
source · pub enum FilterLevel {
None,
Low,
Medium,
}
Expand description
Represents the amount of filtering that can be done to streams on Twitter’s side.
According to Twitter’s documentation, “When displaying a stream of Tweets to end users (dashboards or live feeds at a presentation or conference, for example) it is suggested that you set this value to medium.”
Variants§
Trait Implementations§
source§impl Clone for FilterLevel
impl Clone for FilterLevel
source§fn clone(&self) -> FilterLevel
fn clone(&self) -> FilterLevel
Returns a copy 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 FilterLevel
impl Debug for FilterLevel
source§impl<'de> Deserialize<'de> for FilterLevel
impl<'de> Deserialize<'de> for FilterLevel
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
source§impl Display for FilterLevel
impl Display for FilterLevel
Display
impl to turn FilterLevel
variants into the form needed for stream parameters. This
is basically “the variant name, in lowercase”.