pub struct BindTransceiver<'a> {
pub system_id: COctetString<'a, 1, 16>,
pub password: COctetString<'a, 1, 9>,
pub system_type: COctetString<'a, 1, 13>,
pub interface_version: InterfaceVersion,
pub addr_ton: Ton,
pub addr_npi: Npi,
pub address_range: COctetString<'a, 1, 41>,
}Fields§
§system_id: COctetString<'a, 1, 16>Identifies the ESME system requesting to bind with the MC.
password: COctetString<'a, 1, 9>The password may be used by the MC to authenticate the ESME requesting to bind.
system_type: COctetString<'a, 1, 13>Identifies the type of ESME system requesting to bind with the MC.
interface_version: InterfaceVersionIdentifies the version of the SMPP
protocol supported by the ESME.
addr_ton: TonType of Number (TON) for ESME
address(es) served via this SMPP session.
Set to NULL (Unknown) if not known.
addr_npi: NpiNumbering Plan Indicator (NPI) for
ESME address(es) served via this SMPP session.
Set to NULL (Unknown) if not known.
address_range: COctetString<'a, 1, 41>A single ESME address or a range of
ESME addresses served via this SMPP session.
Set to NULL if not known.
Implementations§
Source§impl<'a> BindTransceiver<'a>
impl<'a> BindTransceiver<'a>
Sourcepub fn into_parts(self) -> BindTransceiverParts<'a>
pub fn into_parts(self) -> BindTransceiverParts<'a>
Converts Self into its parts.
Sourcepub fn from_parts(parts: BindTransceiverParts<'a>) -> Self
pub fn from_parts(parts: BindTransceiverParts<'a>) -> Self
Source§impl<'a> BindTransceiver<'a>
impl<'a> BindTransceiver<'a>
pub const fn new( system_id: COctetString<'a, 1, 16>, password: COctetString<'a, 1, 9>, system_type: COctetString<'a, 1, 13>, interface_version: InterfaceVersion, addr_ton: Ton, addr_npi: Npi, address_range: COctetString<'a, 1, 41>, ) -> Self
pub fn builder() -> BindTransceiverBuilder<'a>
Trait Implementations§
Source§impl<'a, 'arbitrary: 'a> Arbitrary<'arbitrary> for BindTransceiver<'a>
impl<'a, 'arbitrary: 'a> Arbitrary<'arbitrary> for BindTransceiver<'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 BindTransceiver<'a>
impl<'a> Clone for BindTransceiver<'a>
Source§fn clone(&self) -> BindTransceiver<'a>
fn clone(&self) -> BindTransceiver<'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 BindTransceiver<'a>
impl<'a> Debug for BindTransceiver<'a>
Source§impl<'a> Decode<'a> for BindTransceiver<'a>
impl<'a> Decode<'a> for BindTransceiver<'a>
Source§impl<'a> Default for BindTransceiver<'a>
impl<'a> Default for BindTransceiver<'a>
Source§fn default() -> BindTransceiver<'a>
fn default() -> BindTransceiver<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> Encode for BindTransceiver<'a>
impl<'a> Encode for BindTransceiver<'a>
Source§impl<'a> Encode for BindTransceiver<'a>
Available on crate feature alloc only.
impl<'a> Encode for BindTransceiver<'a>
Available on crate feature
alloc only.Source§impl<'a, const N: usize> From<BindTransceiver<'a>> for Pdu<'a, N>
impl<'a, const N: usize> From<BindTransceiver<'a>> for Pdu<'a, N>
Source§fn from(value: BindTransceiver<'a>) -> Self
fn from(value: BindTransceiver<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Hash for BindTransceiver<'a>
impl<'a> Hash for BindTransceiver<'a>
Source§impl<'a> Ord for BindTransceiver<'a>
impl<'a> Ord for BindTransceiver<'a>
Source§impl<'a> PartialEq for BindTransceiver<'a>
impl<'a> PartialEq for BindTransceiver<'a>
Source§impl<'a> PartialOrd for BindTransceiver<'a>
impl<'a> PartialOrd for BindTransceiver<'a>
Source§impl<'a> Serialize for BindTransceiver<'a>
impl<'a> Serialize for BindTransceiver<'a>
impl<'a> Eq for BindTransceiver<'a>
impl<'a> StructuralPartialEq for BindTransceiver<'a>
Auto Trait Implementations§
impl<'a> Freeze for BindTransceiver<'a>
impl<'a> RefUnwindSafe for BindTransceiver<'a>
impl<'a> Send for BindTransceiver<'a>
impl<'a> Sync for BindTransceiver<'a>
impl<'a> Unpin for BindTransceiver<'a>
impl<'a> UnwindSafe for BindTransceiver<'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)