pub struct QuerySmResp<'a> {
pub message_id: COctetString<'a, 1, 65>,
pub final_date: EmptyOrFullCOctetString<'a, 17>,
pub message_state: MessageState,
pub error_code: u8,
}Fields§
§message_id: COctetString<'a, 1, 65>MC Message ID of the message whose state is being queried.
final_date: EmptyOrFullCOctetString<'a, 17>Date and time when the queried message reached a final state. For messages, which have not yet reached a final state, this field will contain a single NULL octet.
message_state: MessageStateSpecifies the status of the queried short message.
error_code: u8Where appropriate this holds a network error code defining the reason for failure of message delivery.
The range of values returned depends on the underlying telecommunications network.
Implementations§
Source§impl<'a> QuerySmResp<'a>
impl<'a> QuerySmResp<'a>
Sourcepub fn into_parts(self) -> QuerySmRespParts<'a>
pub fn into_parts(self) -> QuerySmRespParts<'a>
Converts Self into its parts.
Sourcepub fn from_parts(parts: QuerySmRespParts<'a>) -> Self
pub fn from_parts(parts: QuerySmRespParts<'a>) -> Self
Source§impl<'a> QuerySmResp<'a>
impl<'a> QuerySmResp<'a>
pub fn new( message_id: COctetString<'a, 1, 65>, final_date: EmptyOrFullCOctetString<'a, 17>, message_state: MessageState, error_code: u8, ) -> Self
pub fn builder() -> QuerySmRespBuilder<'a>
Trait Implementations§
Source§impl<'a, 'arbitrary: 'a> Arbitrary<'arbitrary> for QuerySmResp<'a>
impl<'a, 'arbitrary: 'a> Arbitrary<'arbitrary> for QuerySmResp<'a>
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
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>
Generate an arbitrary value of
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>)
Get a size hint for how many bytes out of an
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>
Get a size hint for how many bytes out of an
Unstructured this type
needs to construct itself. Read moreSource§impl<'a> Clone for QuerySmResp<'a>
impl<'a> Clone for QuerySmResp<'a>
Source§fn clone(&self) -> QuerySmResp<'a>
fn clone(&self) -> QuerySmResp<'a>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for QuerySmResp<'a>
impl<'a> Debug for QuerySmResp<'a>
Source§impl<'a> Decode<'a> for QuerySmResp<'a>
impl<'a> Decode<'a> for QuerySmResp<'a>
Source§impl<'a> Default for QuerySmResp<'a>
impl<'a> Default for QuerySmResp<'a>
Source§fn default() -> QuerySmResp<'a>
fn default() -> QuerySmResp<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Encode for QuerySmResp<'a>
impl<'a> Encode for QuerySmResp<'a>
Source§impl<'a> Encode for QuerySmResp<'a>
Available on crate feature alloc only.
impl<'a> Encode for QuerySmResp<'a>
Available on crate feature
alloc only.Source§impl<'a, const N: usize> From<QuerySmResp<'a>> for Pdu<'a, N>
impl<'a, const N: usize> From<QuerySmResp<'a>> for Pdu<'a, N>
Source§fn from(value: QuerySmResp<'a>) -> Self
fn from(value: QuerySmResp<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for QuerySmResp<'a>
impl<'a> Hash for QuerySmResp<'a>
Source§impl<'a> Ord for QuerySmResp<'a>
impl<'a> Ord for QuerySmResp<'a>
Source§impl<'a> PartialEq for QuerySmResp<'a>
impl<'a> PartialEq for QuerySmResp<'a>
Source§impl<'a> PartialOrd for QuerySmResp<'a>
impl<'a> PartialOrd for QuerySmResp<'a>
Source§impl<'a> Serialize for QuerySmResp<'a>
impl<'a> Serialize for QuerySmResp<'a>
impl<'a> Eq for QuerySmResp<'a>
impl<'a> StructuralPartialEq for QuerySmResp<'a>
Auto Trait Implementations§
impl<'a> Freeze for QuerySmResp<'a>
impl<'a> RefUnwindSafe for QuerySmResp<'a>
impl<'a> Send for QuerySmResp<'a>
impl<'a> Sync for QuerySmResp<'a>
impl<'a> Unpin for QuerySmResp<'a>
impl<'a> UnwindSafe for QuerySmResp<'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
Mutably borrows from an owned value. Read more
§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)
🔬This is a nightly-only experimental API. (
clone_to_uninit)