Struct malwaredb_types::doc::rtf::Rtf
source · pub struct Rtf<'a> {
pub character_set: Option<CharacterSet>,
pub title: Option<String>,
pub contents: &'a [u8],
}
Expand description
A struct representing Rich Text Format (RTF) files
Fields§
§character_set: Option<CharacterSet>
The character set (encoding) used by the document
title: Option<String>
Document title
contents: &'a [u8]
The array containing the raw bytes used to parse this document
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Rtf<'a>
impl<'a> Send for Rtf<'a>
impl<'a> Sync for Rtf<'a>
impl<'a> Unpin for Rtf<'a>
impl<'a> UnwindSafe for Rtf<'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