pub struct ThreadListOptionsBuilder(/* private fields */);Implementations§
Source§impl ThreadListOptionsBuilder
impl ThreadListOptionsBuilder
Sourcepub fn all(&mut self, all: bool) -> &mut Self
pub fn all(&mut self, all: bool) -> &mut Self
if true, show notifications marked as read. Default: false
Sourcepub fn participating(&mut self, val: bool) -> &mut Self
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
Sourcepub fn since<T>(&mut self, since: T) -> &mut Self
pub fn since<T>(&mut self, since: T) -> &mut Self
Only show notifications updated after the given time.
Sourcepub fn before<T>(&mut self, before: T) -> &mut Self
pub fn before<T>(&mut self, before: T) -> &mut Self
Only show notifications updated before a given time.
pub fn build(&self) -> ThreadListOptions
Trait Implementations§
Source§impl Default for ThreadListOptionsBuilder
impl Default for ThreadListOptionsBuilder
Source§fn default() -> ThreadListOptionsBuilder
fn default() -> ThreadListOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ThreadListOptionsBuilder
impl RefUnwindSafe for ThreadListOptionsBuilder
impl Send for ThreadListOptionsBuilder
impl Sync for ThreadListOptionsBuilder
impl Unpin for ThreadListOptionsBuilder
impl UnwindSafe for ThreadListOptionsBuilder
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