pub fn new(
service_type: &str,
source_addr_ton: u8,
source_addr_npi: u8,
source_addr: &str,
dest_addr_ton: u8,
dest_addr_npi: u8,
destination_addr: &str,
esm_class: u8,
protocol_id: u8,
priority_flag: u8,
schedule_delivery_time: &str,
validity_period: &str,
registered_delivery: u8,
replace_if_present_flag: u8,
data_coding: u8,
sm_default_msg_id: u8,
short_message: &[u8],
tlvs: Tlvs
) -> Result<Self, PduParseError>
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.