Struct hubcaps::notifications::ThreadListOptionsBuilder [−][src]
pub struct ThreadListOptionsBuilder(_);
Methods
impl ThreadListOptionsBuilder
[src]
impl ThreadListOptionsBuilder
pub fn new() -> Self
[src]
pub fn new() -> Self
ⓘImportant traits for &'a mut Rpub fn all(&mut self, all: bool) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn all(&mut self, all: bool) -> &mut Self
if true
, show notifications marked as read. Default: false
ⓘImportant traits for &'a mut Rpub fn participating(&mut self, val: bool) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn participating(&mut self, val: bool) -> &mut Self
if true
, only shows notifications in which the user is directly participating or
mentioned. Default: false
ⓘImportant traits for &'a mut Rpub fn since<T>(&mut self, since: T) -> &mut Self where
T: Into<String>,
[src]
ⓘImportant traits for &'a mut R
pub fn since<T>(&mut self, since: T) -> &mut Self where
T: Into<String>,
Only show notifications updated after the given time.
ⓘImportant traits for &'a mut Rpub fn before<T>(&mut self, before: T) -> &mut Self where
T: Into<String>,
[src]
ⓘImportant traits for &'a mut R
pub fn before<T>(&mut self, before: T) -> &mut Self where
T: Into<String>,
Only show notifications updated before a given time.
pub fn build(&self) -> ThreadListOptions
[src]
pub fn build(&self) -> ThreadListOptions
Trait Implementations
impl Default for ThreadListOptionsBuilder
[src]
impl Default for ThreadListOptionsBuilder
fn default() -> ThreadListOptionsBuilder
[src]
fn default() -> ThreadListOptionsBuilder
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for ThreadListOptionsBuilder
impl Send for ThreadListOptionsBuilder
impl Sync for ThreadListOptionsBuilder
impl Sync for ThreadListOptionsBuilder