Struct TransferredMessage
pub struct TransferredMessage {
pub ack: AckIndicator,
pub transaction_id: u32,
pub format: MessageFormat,
pub data: Bytes,
}Expand description
A message passed on without storing it
(wms_transfer_route_mt_message_type_v01).
Fields§
§ack: AckIndicatorWhether a client must acknowledge the message with
SendAck.
On EVA and EVD this value doesn’t match whether a negative SendAck
succeeds. It was AckIndicator::SEND_ACK on
ReceiptAction::TRANSFER_AND_ACK routes, where SendAck failed,
and AckIndicator::DO_NOT_SEND_ACK on transfer-only routes, where it
succeeded. Decide by the route. See the crate docs on acknowledgements.
transaction_id: u32Transaction ID for the acknowledgement.
format: MessageFormatFormat of data.
data: BytesThe message as raw bytes. For MessageFormat::GW_PP this is the
TPDU. The SMSC address is in EventReport::smsc_address.
Trait Implementations§
§impl Clone for TransferredMessage
impl Clone for TransferredMessage
§fn clone(&self) -> TransferredMessage
fn clone(&self) -> TransferredMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for TransferredMessage
impl Debug for TransferredMessage
§impl Decode for TransferredMessage
impl Decode for TransferredMessage
impl Eq for TransferredMessage
§impl PartialEq for TransferredMessage
impl PartialEq for TransferredMessage
impl StructuralPartialEq for TransferredMessage
Auto Trait Implementations§
impl !Freeze for TransferredMessage
impl RefUnwindSafe for TransferredMessage
impl Send for TransferredMessage
impl Sync for TransferredMessage
impl Unpin for TransferredMessage
impl UnsafeUnpin for TransferredMessage
impl UnwindSafe for TransferredMessage
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