pub struct QuerySmResp {
pub message_id: COctetString<1, 65>,
pub final_date: EmptyOrFullCOctetString<17>,
pub message_state: MessageState,
pub error_code: u8,
}Available on crate feature
alloc only.Fields§
§message_id: COctetString<1, 65>MC Message ID of the message whose state is being queried.
final_date: EmptyOrFullCOctetString<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 QuerySmResp
impl QuerySmResp
Sourcepub fn into_parts(self) -> QuerySmRespParts
pub fn into_parts(self) -> QuerySmRespParts
Converts Self into its parts.
Sourcepub fn from_parts(parts: QuerySmRespParts) -> Self
pub fn from_parts(parts: QuerySmRespParts) -> Self
Source§impl QuerySmResp
impl QuerySmResp
pub fn new( message_id: COctetString<1, 65>, final_date: EmptyOrFullCOctetString<17>, message_state: MessageState, error_code: u8, ) -> Self
pub fn builder() -> QuerySmRespBuilder
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for QuerySmResp
impl<'arbitrary> Arbitrary<'arbitrary> for QuerySmResp
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 Clone for QuerySmResp
impl Clone for QuerySmResp
Source§fn clone(&self) -> QuerySmResp
fn clone(&self) -> QuerySmResp
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 Debug for QuerySmResp
impl Debug for QuerySmResp
Source§impl Decode for QuerySmResp
impl Decode for QuerySmResp
Source§impl Default for QuerySmResp
impl Default for QuerySmResp
Source§fn default() -> QuerySmResp
fn default() -> QuerySmResp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for QuerySmResp
impl<'de> Deserialize<'de> for QuerySmResp
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encode for QuerySmResp
impl Encode for QuerySmResp
Source§impl Encode for QuerySmResp
impl Encode for QuerySmResp
Source§impl From<QuerySmResp> for Pdu
impl From<QuerySmResp> for Pdu
Source§fn from(value: QuerySmResp) -> Self
fn from(value: QuerySmResp) -> Self
Converts to this type from the input type.
Source§impl Hash for QuerySmResp
impl Hash for QuerySmResp
Source§impl Ord for QuerySmResp
impl Ord for QuerySmResp
Source§impl PartialEq for QuerySmResp
impl PartialEq for QuerySmResp
Source§impl PartialOrd for QuerySmResp
impl PartialOrd for QuerySmResp
Source§impl Serialize for QuerySmResp
impl Serialize for QuerySmResp
impl Eq for QuerySmResp
impl StructuralPartialEq for QuerySmResp
Auto Trait Implementations§
impl !Freeze for QuerySmResp
impl RefUnwindSafe for QuerySmResp
impl Send for QuerySmResp
impl Sync for QuerySmResp
impl Unpin for QuerySmResp
impl UnwindSafe for QuerySmResp
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)