pub struct UnbindResponse {
pub sequence_number: u32,
pub command_status: u32,
pub status_description: String,
}Fields§
§sequence_number: u32§command_status: u32§status_description: StringImplementations§
Source§impl UnbindResponse
impl UnbindResponse
Sourcepub fn new(sequence_number: u32, status_name: &str) -> Self
pub fn new(sequence_number: u32, status_name: &str) -> Self
Create a new Unbind Response.
§Examples
use smpp_codec::pdus::UnbindResponse;
let sequence_number: u32 = 1;
let unbind_resp = UnbindResponse::new(sequence_number, "ESME_ROK");Trait Implementations§
Source§impl Clone for UnbindResponse
impl Clone for UnbindResponse
Source§fn clone(&self) -> UnbindResponse
fn clone(&self) -> UnbindResponse
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 moreAuto Trait Implementations§
impl Freeze for UnbindResponse
impl RefUnwindSafe for UnbindResponse
impl Send for UnbindResponse
impl Sync for UnbindResponse
impl Unpin for UnbindResponse
impl UnwindSafe for UnbindResponse
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