Struct ytnef::tnef::TNEFAttachment
source · pub struct TNEFAttachment { /* private fields */ }
Implementations§
source§impl TNEFAttachment
impl TNEFAttachment
pub fn new() -> Self
sourcepub unsafe fn from_raw(raw: *mut Attachment) -> Self
pub unsafe fn from_raw(raw: *mut Attachment) -> Self
Safety
‘raw’ must be a non-NULL initialized Attachment object. Only pass pointers returned by the ytnef_sys API to this function.
pub fn date(&self) -> NaiveDateTime
pub fn title(&self) -> Option<String>
pub fn create_date(&self) -> NaiveDateTime
pub fn modify_date(&self) -> NaiveDateTime
pub fn transport_filename(&self) -> Option<String>
pub fn render_data(&self) -> TNEFAttachmentRenderData
pub fn file_data(&self) -> Option<Vec<u8>>
pub fn icon_data(&self) -> Option<Vec<u8>>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TNEFAttachment
impl !Send for TNEFAttachment
impl !Sync for TNEFAttachment
impl Unpin for TNEFAttachment
impl UnwindSafe for TNEFAttachment
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