pub struct QueryBroadcastSm<'a> {
pub message_id: COctetString<'a, 1, 65>,
pub source_addr_ton: Ton,
pub source_addr_npi: Npi,
pub source_addr: COctetString<'a, 1, 21>,
/* private fields */
}Expand description
This command is issued by the ESME to query the status of a previously submitted broadcast message. The message can be queried either on the basis of the Message Center assigned reference message_id returned in the broadcast_sm_resp or by the ESME assigned message reference number user_message_reference as indicated in the broadcast_sm operation associated with that message.
Note: Where the broadcast is queried on the basis of the ESME assigned message reference user_message_reference this should be qualified within the service by the system_id and/or the system_type associated with the query_broadcast_sm operation (specified in the bind operation). If more than one message with the same user_message_reference value is present in the Message Center, the details of the most recently submitted message with the specified user_message_reference value will be returned in the query_broadcast_sm_resp.
Fields§
§message_id: COctetString<'a, 1, 65>Message ID of the message to be queried. This must be the MC assigned Message ID allocated to the original short message when submitted to the MC by the broadcast_sm command, and returned in the response PDU by the MC.
Set to NULL if setting user_message_reference.
source_addr_ton: TonType of Number for source address.
If not known, set to NULL (Unknown).
source_addr_npi: NpiNumbering Plan Indicator for source address.
If not known, set to NULL (Unknown).
source_addr: COctetString<'a, 1, 21>Address of SME which originated this message.
If not known, set to NULL (Unknown).
Implementations§
Source§impl<'a> QueryBroadcastSm<'a>
impl<'a> QueryBroadcastSm<'a>
Sourcepub fn into_parts(self) -> QueryBroadcastSmParts<'a>
pub fn into_parts(self) -> QueryBroadcastSmParts<'a>
Converts Self into its parts.
Sourcepub fn from_parts(parts: QueryBroadcastSmParts<'a>) -> QueryBroadcastSm<'a>
pub fn from_parts(parts: QueryBroadcastSmParts<'a>) -> QueryBroadcastSm<'a>
Source§impl<'a> QueryBroadcastSm<'a>
impl<'a> QueryBroadcastSm<'a>
pub fn new( message_id: COctetString<'a, 1, 65>, source_addr_ton: Ton, source_addr_npi: Npi, source_addr: COctetString<'a, 1, 21>, user_message_reference: Option<UserMessageReference>, ) -> QueryBroadcastSm<'a>
pub const fn user_message_reference_tlv(&self) -> Option<&Tlv<'_>>
pub fn user_message_reference(&self) -> Option<UserMessageReference>
pub fn set_user_message_reference( &mut self, user_message_reference: Option<UserMessageReference>, )
pub fn builder() -> QueryBroadcastSmBuilder<'a>
Trait Implementations§
Source§impl<'a> Clone for QueryBroadcastSm<'a>
impl<'a> Clone for QueryBroadcastSm<'a>
Source§fn clone(&self) -> QueryBroadcastSm<'a>
fn clone(&self) -> QueryBroadcastSm<'a>
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for QueryBroadcastSm<'a>
impl<'a> Debug for QueryBroadcastSm<'a>
Source§impl<'a> DecodeWithLength<'a> for QueryBroadcastSm<'a>
impl<'a> DecodeWithLength<'a> for QueryBroadcastSm<'a>
Source§fn decode(
src: &'a [u8],
length: usize,
) -> Result<(QueryBroadcastSm<'a>, usize), DecodeError>
fn decode( src: &'a [u8], length: usize, ) -> Result<(QueryBroadcastSm<'a>, usize), DecodeError>
Source§impl<'a> Default for QueryBroadcastSm<'a>
impl<'a> Default for QueryBroadcastSm<'a>
Source§fn default() -> QueryBroadcastSm<'a>
fn default() -> QueryBroadcastSm<'a>
Source§impl<'a> Encode for QueryBroadcastSm<'a>
impl<'a> Encode for QueryBroadcastSm<'a>
Source§impl<'a, const N: usize> From<QueryBroadcastSm<'a>> for Pdu<'a, N>
impl<'a, const N: usize> From<QueryBroadcastSm<'a>> for Pdu<'a, N>
Source§fn from(value: QueryBroadcastSm<'a>) -> Pdu<'a, N>
fn from(value: QueryBroadcastSm<'a>) -> Pdu<'a, N>
Source§impl<'a> Hash for QueryBroadcastSm<'a>
impl<'a> Hash for QueryBroadcastSm<'a>
Source§impl<'a> Ord for QueryBroadcastSm<'a>
impl<'a> Ord for QueryBroadcastSm<'a>
Source§impl<'a> PartialEq for QueryBroadcastSm<'a>
impl<'a> PartialEq for QueryBroadcastSm<'a>
Source§impl<'a> PartialOrd for QueryBroadcastSm<'a>
impl<'a> PartialOrd for QueryBroadcastSm<'a>
impl<'a> Eq for QueryBroadcastSm<'a>
impl<'a> StructuralPartialEq for QueryBroadcastSm<'a>
Auto Trait Implementations§
impl<'a> Freeze for QueryBroadcastSm<'a>
impl<'a> RefUnwindSafe for QueryBroadcastSm<'a>
impl<'a> Send for QueryBroadcastSm<'a>
impl<'a> Sync for QueryBroadcastSm<'a>
impl<'a> Unpin for QueryBroadcastSm<'a>
impl<'a> UnwindSafe for QueryBroadcastSm<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)