Struct smpp_pdu::pdu::SubmitSmRespPdu [−][src]
pub struct SubmitSmRespPdu { pub message_id: Option<COctetString>, }
Fields
message_id: Option<COctetString>
Implementations
pub fn parse(
bytes: &mut dyn BufRead,
command_status: u32
) -> Result<SubmitSmRespPdu, PduParseError>
pub fn parse(
bytes: &mut dyn BufRead,
command_status: u32
) -> Result<SubmitSmRespPdu, PduParseError>
Parse a submit_sm_resp PDU. Note: if command_status is non-zero, this function will attempt to read beyond the end of the PDU. It does this to check whether a message_id has been supplied when it should not have been. This means that you must restrict the number of bytes available to read before entering this function.
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SubmitSmRespPdu
impl Send for SubmitSmRespPdu
impl Sync for SubmitSmRespPdu
impl Unpin for SubmitSmRespPdu
impl UnwindSafe for SubmitSmRespPdu