pub struct Import {
pub toml: String,
pub aliases: Vec<String>,
pub alias_file: Option<String>,
}Expand description
Parsed import: the TOML text plus the alias lines found, in
muttrc form. rmut reads mutt-format alias files as they are, so
these belong in one of those rather than in the TOML; the caller
either writes them to the alias file or shows them with
alias_block.
Fields§
§toml: String§aliases: Vec<String>§alias_file: Option<String>mutt’s $alias_file, when the muttrc named one: rmut reads and appends to it, so an import writes no alias file of its own.
Auto Trait Implementations§
impl Freeze for Import
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnsafeUnpin for Import
impl UnwindSafe for Import
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