Struct MQMD2

Source
#[repr(C)]
pub struct MQMD2 {
Show 29 fields pub StrucId: MQCHAR4, pub Version: MQLONG, pub Report: MQLONG, pub MsgType: MQLONG, pub Expiry: MQLONG, pub Feedback: MQLONG, pub Encoding: MQLONG, pub CodedCharSetId: MQLONG, pub Format: MQCHAR8, pub Priority: MQLONG, pub Persistence: MQLONG, pub MsgId: MQBYTE24, pub CorrelId: MQBYTE24, pub BackoutCount: MQLONG, pub ReplyToQ: MQCHAR48, pub ReplyToQMgr: MQCHAR48, pub UserIdentifier: MQCHAR12, pub AccountingToken: MQBYTE32, pub ApplIdentityData: MQCHAR32, pub PutApplType: MQLONG, pub PutApplName: MQCHAR28, pub PutDate: MQCHAR8, pub PutTime: MQCHAR8, pub ApplOriginData: MQCHAR4, pub GroupId: MQBYTE24, pub MsgSeqNumber: MQLONG, pub Offset: MQLONG, pub MsgFlags: MQLONG, pub OriginalLength: MQLONG,
}
Expand description

Version-2 Message Descriptor

Fields§

§StrucId: MQCHAR4

Structure identifier

§Version: MQLONG

Structure version number

§Report: MQLONG

Options for report messages

§MsgType: MQLONG

Message type

§Expiry: MQLONG

Message lifetime

§Feedback: MQLONG

Feedback or reason code

§Encoding: MQLONG

Numeric encoding of message data

§CodedCharSetId: MQLONG

Character set identifier of message data

§Format: MQCHAR8

Format name of message data

§Priority: MQLONG

Message priority

§Persistence: MQLONG

Message persistence

§MsgId: MQBYTE24

Message identifier

§CorrelId: MQBYTE24

Correlation identifier

§BackoutCount: MQLONG

Backout counter

§ReplyToQ: MQCHAR48

Name of reply queue

§ReplyToQMgr: MQCHAR48

Name of reply queue manager

§UserIdentifier: MQCHAR12

User identifier

§AccountingToken: MQBYTE32

Accounting token

§ApplIdentityData: MQCHAR32

Application data relating to identity

§PutApplType: MQLONG

Type of application that put the message

§PutApplName: MQCHAR28

Name of application that put the message

§PutDate: MQCHAR8

Date when message was put

§PutTime: MQCHAR8

Time when message was put

§ApplOriginData: MQCHAR4

Application data relating to origin

§GroupId: MQBYTE24

Group identifier

MQMD2::Version >= 2

§MsgSeqNumber: MQLONG

Sequence number of logical message within group

MQMD2::Version >= 2

§Offset: MQLONG

Offset of data in physical message from start of logical message

MQMD2::Version >= 2

§MsgFlags: MQLONG

Message flags

MQMD2::Version >= 2

§OriginalLength: MQLONG

Length of original message

MQMD2::Version >= 2

Trait Implementations§

Source§

impl Clone for MQMD2

Source§

fn clone(&self) -> MQMD2

Returns a duplicate 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 MQMD2

Source§

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

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

impl Copy for MQMD2

Auto Trait Implementations§

§

impl Freeze for MQMD2

§

impl RefUnwindSafe for MQMD2

§

impl Send for MQMD2

§

impl Sync for MQMD2

§

impl Unpin for MQMD2

§

impl UnwindSafe for MQMD2

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 T
where T: Clone,

Source§

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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.