Struct ytnef_sys::TNEFStruct

source ·
#[repr(C)]
pub struct TNEFStruct {
Show 27 fields pub version: [c_char; 16], pub from: variableLength, pub subject: variableLength, pub dateSent: dtr, pub dateReceived: dtr, pub messageStatus: [c_char; 10], pub messageClass: [c_char; 50], pub messageID: [c_char; 50], pub parentID: [c_char; 50], pub conversationID: [c_char; 50], pub body: variableLength, pub priority: [c_char; 10], pub starting_attach: Attachment, pub dateModified: dtr, pub MapiProperties: MAPIProps, pub CodePage: variableLength, pub OriginalMessageClass: variableLength, pub Owner: variableLength, pub SentFor: variableLength, pub Delegate: variableLength, pub DateStart: dtr, pub DateEnd: dtr, pub AidOwner: variableLength, pub RequestRes: c_int, pub Debug: c_int, pub IO: TNEFIOStruct, pub attachmentSize: c_int,
}

Fields§

§version: [c_char; 16]§from: variableLength§subject: variableLength§dateSent: dtr§dateReceived: dtr§messageStatus: [c_char; 10]§messageClass: [c_char; 50]§messageID: [c_char; 50]§parentID: [c_char; 50]§conversationID: [c_char; 50]§body: variableLength§priority: [c_char; 10]§starting_attach: Attachment§dateModified: dtr§MapiProperties: MAPIProps§CodePage: variableLength§OriginalMessageClass: variableLength§Owner: variableLength§SentFor: variableLength§Delegate: variableLength§DateStart: dtr§DateEnd: dtr§AidOwner: variableLength§RequestRes: c_int§Debug: c_int§IO: TNEFIOStruct§attachmentSize: c_int

Trait Implementations§

source§

impl Clone for TNEFStruct

source§

fn clone(&self) -> TNEFStruct

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TNEFStruct

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for TNEFStruct

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.