pub struct Scope<'a> {
pub me: Me<'a>,
pub lists: &'a [Matcher],
pub subscribed: &'a [Matcher],
pub position: Position,
pub thread: Option<ThreadView<'a>>,
}Expand description
Everything matching needs besides the message: my own addresses
(~p, ~P), the known mailing lists (~l), and the message’s
place in the list (~m, ~=).
Fields§
§me: Me<'a>§lists: &'a [Matcher]Address patterns naming mailing lists, subscribed or not.
subscribed: &'a [Matcher]The subscribed subset, for ~u.
position: Position§thread: Option<ThreadView<'a>>The message’s place in its thread, for ~(, ~<, ~>, ~v
and ~$. None outside a threaded index, where ~(P) means P
of the message itself and the rest are false.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Scope<'a>
impl<'a> !Send for Scope<'a>
impl<'a> !Sync for Scope<'a>
impl<'a> !UnwindSafe for Scope<'a>
impl<'a> Freeze for Scope<'a>
impl<'a> Unpin for Scope<'a>
impl<'a> UnsafeUnpin for Scope<'a>
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