pub struct QueryBroadcastSm {
pub message_id: COctetString<1, 65>,
pub source_addr_ton: Ton,
pub source_addr_npi: Npi,
pub source_addr: COctetString<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<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: Ton
Type of Number for source address.
If not known, set to NULL (Unknown).
source_addr_npi: Npi
Numbering Plan Indicator for source address.
If not known, set to NULL (Unknown).
source_addr: COctetString<1, 21>
Address of SME which originated this message.
If not known, set to NULL (Unknown).
Implementations§
Source§impl QueryBroadcastSm
impl QueryBroadcastSm
pub fn new( message_id: COctetString<1, 65>, source_addr_ton: Ton, source_addr_npi: Npi, source_addr: COctetString<1, 21>, user_message_reference: Option<UserMessageReference>, ) -> Self
pub 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
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for QueryBroadcastSm
impl<'arbitrary> Arbitrary<'arbitrary> for QueryBroadcastSm
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Unstructured
this type
needs to construct itself. Read moreSource§impl Clone for QueryBroadcastSm
impl Clone for QueryBroadcastSm
Source§fn clone(&self) -> QueryBroadcastSm
fn clone(&self) -> QueryBroadcastSm
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more