pub struct ScreenOptions {
pub designation_box_id: Option<i64>,
pub spam: bool,
pub mark_topics_as_seen: bool,
}Expand description
What to do beyond setting the status. HEY reads each of these for truthiness, so one left alone stays off the wire entirely rather than going out as a false.
Fields§
§designation_box_id: Option<i64>Files everything the sender sends into that box rather than the Imbox.
spam: boolMarks the topics already waiting as spam and trains the filter on them.
mark_topics_as_seen: boolScreens the sender in without their waiting mail arriving unread.
Trait Implementations§
Source§impl Clone for ScreenOptions
impl Clone for ScreenOptions
Source§fn clone(&self) -> ScreenOptions
fn clone(&self) -> ScreenOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ScreenOptions
impl Debug for ScreenOptions
Source§impl Default for ScreenOptions
impl Default for ScreenOptions
Source§fn default() -> ScreenOptions
fn default() -> ScreenOptions
Returns the “default value” for a type. Read more
impl Eq for ScreenOptions
Source§impl PartialEq for ScreenOptions
impl PartialEq for ScreenOptions
impl StructuralPartialEq for ScreenOptions
Auto Trait Implementations§
impl Freeze for ScreenOptions
impl RefUnwindSafe for ScreenOptions
impl Send for ScreenOptions
impl Sync for ScreenOptions
impl Unpin for ScreenOptions
impl UnsafeUnpin for ScreenOptions
impl UnwindSafe for ScreenOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.