pub struct MessageView {
pub brief: Vec<(String, String)>,
pub all: Vec<(String, String)>,
pub body: String,
}Expand description
Full message ready for the pager: mutt-style brief header block, the
complete header list for the h toggle, and the decoded text body.
Fields§
§brief: Vec<(String, String)>§all: Vec<(String, String)>§body: StringTrait Implementations§
Source§impl Clone for MessageView
impl Clone for MessageView
Source§fn clone(&self) -> MessageView
fn clone(&self) -> MessageView
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 moreAuto Trait Implementations§
impl Freeze for MessageView
impl RefUnwindSafe for MessageView
impl Send for MessageView
impl Sync for MessageView
impl Unpin for MessageView
impl UnsafeUnpin for MessageView
impl UnwindSafe for MessageView
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