pub struct PrintfileData<'a> {Show 15 fields
pub label: &'a str,
pub subject: &'a str,
pub dir: &'a str,
pub name: Option<&'a str>,
pub email: Option<&'a str>,
pub msgid: Option<&'a str>,
pub charset: Option<&'a str>,
pub date: Option<&'a str>,
pub display_date: Option<&'a str>,
pub filename: Option<&'a str>,
pub archives: Option<&'a str>,
pub about: Option<&'a str>,
pub mailto: Option<&'a str>,
pub language: &'a str,
pub rel_path_to_top: &'a str,
}Expand description
Data for original hypermail-style %x single-character template substitution,
matching the printfile() function in the original hypermail printfile.c.
Fields§
§label: &'a strArchive label (%l)
subject: &'a strMessage subject text — HTML-escaped where needed (%s, %S)
dir: &'a strOutput directory (%~)
name: Option<&'a str>Author display name (%A combined with email)
email: Option<&'a str>Author email address (%e, %A)
msgid: Option<&'a str>Message-ID (%i)
charset: Option<&'a str>Charset (%c)
date: Option<&'a str>ISO date string for meta tag (%D)
display_date: Option<&'a str>Human-readable date string for display (%d)
filename: Option<&'a str>HTML filename of the current page (%f)
archives: Option<&'a str>Other-archives URL (%a)
about: Option<&'a str>About-archive URL (%b)
mailto: Option<&'a str>Mailto address (%m)
language: &'a strLanguage code (%G)
rel_path_to_top: &'a strRelative path from current page back to the top-level index (%t)
Auto Trait Implementations§
impl<'a> Freeze for PrintfileData<'a>
impl<'a> RefUnwindSafe for PrintfileData<'a>
impl<'a> Send for PrintfileData<'a>
impl<'a> Sync for PrintfileData<'a>
impl<'a> Unpin for PrintfileData<'a>
impl<'a> UnsafeUnpin for PrintfileData<'a>
impl<'a> UnwindSafe for PrintfileData<'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