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 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 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
Display impl to turn FilterLevel variants into the form needed for stream parameters. This
is basically “the variant name, in lowercase”.
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”.
Source§impl Serialize for FilterLevel
impl Serialize for FilterLevel
impl Copy for FilterLevel
Auto Trait Implementations§
impl Freeze for FilterLevel
impl RefUnwindSafe for FilterLevel
impl Send for FilterLevel
impl Sync for FilterLevel
impl Unpin for FilterLevel
impl UnwindSafe for FilterLevel
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