pub struct NonSupportedCommandParams {
pub cr_bit: bool,
pub non_supported_command: u8,
}
Expand description
This response is sent whenever a command type is not supported by the device. Defined in GSM 7.10 Section 5.4.6.3.8.
Fields§
§cr_bit: bool
The C/R bit is set to the same value as the C/R bit in the non-supported command.
non_supported_command: u8
The non_supported command.
Trait Implementations§
Source§impl Clone for NonSupportedCommandParams
impl Clone for NonSupportedCommandParams
Source§fn clone(&self) -> NonSupportedCommandParams
fn clone(&self) -> NonSupportedCommandParams
Returns a copy 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 NonSupportedCommandParams
impl Debug for NonSupportedCommandParams
Source§impl Decodable for NonSupportedCommandParams
impl Decodable for NonSupportedCommandParams
type Error = FrameParseError
Source§impl Encodable for NonSupportedCommandParams
impl Encodable for NonSupportedCommandParams
type Error = FrameParseError
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the number of bytes necessary to encode |self|.
impl StructuralPartialEq for NonSupportedCommandParams
Auto Trait Implementations§
impl Freeze for NonSupportedCommandParams
impl RefUnwindSafe for NonSupportedCommandParams
impl Send for NonSupportedCommandParams
impl Sync for NonSupportedCommandParams
impl Unpin for NonSupportedCommandParams
impl UnwindSafe for NonSupportedCommandParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)