pub struct OutbindRequest {
pub sequence_number: u32,
pub system_id: String,
pub password: String,
}Expand description
Represents an Outbind PDU.
Sent by the SMSC to the ESME to request the ESME to initiate a Bind.
Fields§
§sequence_number: u32Sequence number of the PDU
system_id: StringSystem ID identifying the ESME
password: StringPassword for authentication
Implementations§
Source§impl OutbindRequest
impl OutbindRequest
Sourcepub fn new(sequence_number: u32, system_id: String, password: String) -> Self
pub fn new(sequence_number: u32, system_id: String, password: String) -> Self
Create a new Outbind Request.
§Examples
use smpp_codec::pdus::OutbindRequest;
let sequence_number: u32 = 1;
let outbind = OutbindRequest::new(
sequence_number, // Sequence number
"my_system_id".to_string(),
"password".to_string(),
);Trait Implementations§
Source§impl Clone for OutbindRequest
impl Clone for OutbindRequest
Source§fn clone(&self) -> OutbindRequest
fn clone(&self) -> OutbindRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutbindRequest
impl Debug for OutbindRequest
Source§impl PartialEq for OutbindRequest
impl PartialEq for OutbindRequest
impl StructuralPartialEq for OutbindRequest
Auto Trait Implementations§
impl Freeze for OutbindRequest
impl RefUnwindSafe for OutbindRequest
impl Send for OutbindRequest
impl Sync for OutbindRequest
impl Unpin for OutbindRequest
impl UnwindSafe for OutbindRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more