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 */
}alloc only.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: 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<1, 21>Address of SME which originated this message.
If not known, set to NULL (Unknown).
Implementations§
Source§impl QueryBroadcastSm
impl QueryBroadcastSm
Sourcepub fn into_parts(self) -> QueryBroadcastSmParts
pub fn into_parts(self) -> QueryBroadcastSmParts
Converts Self into its parts.
Sourcepub fn from_parts(parts: QueryBroadcastSmParts) -> Self
pub fn from_parts(parts: QueryBroadcastSmParts) -> Self
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 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
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for QueryBroadcastSm
impl Debug for QueryBroadcastSm
Source§impl DecodeWithLength for QueryBroadcastSm
impl DecodeWithLength for QueryBroadcastSm
Source§impl Default for QueryBroadcastSm
impl Default for QueryBroadcastSm
Source§fn default() -> QueryBroadcastSm
fn default() -> QueryBroadcastSm
Source§impl<'de> Deserialize<'de> for QueryBroadcastSm
impl<'de> Deserialize<'de> for QueryBroadcastSm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Encode for QueryBroadcastSm
impl Encode for QueryBroadcastSm
Source§impl Encode for QueryBroadcastSm
impl Encode for QueryBroadcastSm
Source§impl From<QueryBroadcastSm> for Pdu
impl From<QueryBroadcastSm> for Pdu
Source§fn from(value: QueryBroadcastSm) -> Self
fn from(value: QueryBroadcastSm) -> Self
Source§impl Hash for QueryBroadcastSm
impl Hash for QueryBroadcastSm
Source§impl Ord for QueryBroadcastSm
impl Ord for QueryBroadcastSm
Source§impl PartialEq for QueryBroadcastSm
impl PartialEq for QueryBroadcastSm
Source§impl PartialOrd for QueryBroadcastSm
impl PartialOrd for QueryBroadcastSm
Source§impl Serialize for QueryBroadcastSm
impl Serialize for QueryBroadcastSm
impl Eq for QueryBroadcastSm
impl StructuralPartialEq for QueryBroadcastSm
Auto Trait Implementations§
impl !Freeze for QueryBroadcastSm
impl RefUnwindSafe for QueryBroadcastSm
impl Send for QueryBroadcastSm
impl Sync for QueryBroadcastSm
impl Unpin for QueryBroadcastSm
impl UnwindSafe for QueryBroadcastSm
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)