Struct ytnef::mapi::MAPIProperty
source · pub struct MAPIProperty { /* private fields */ }
Implementations§
source§impl MAPIProperty
impl MAPIProperty
sourcepub unsafe fn from_raw(raw: *mut MAPIProperty) -> Self
pub unsafe fn from_raw(raw: *mut MAPIProperty) -> 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 custom(&self) -> u32
pub fn guid(&self) -> &[u8] ⓘ
pub fn id(&self) -> u32
pub fn count(&self) -> u32
pub fn named_properties(&self) -> Option<Vec<String>>
pub fn data(&self) -> Option<Vec<u8>>
Auto Trait Implementations§
impl RefUnwindSafe for MAPIProperty
impl !Send for MAPIProperty
impl !Sync for MAPIProperty
impl Unpin for MAPIProperty
impl UnwindSafe for MAPIProperty
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