Enum at_commands::Command

source ·
pub enum Command {
Show 56 variants Testex {}, Testexext {}, TestCommand {}, Testexextfi { field: i64, }, Testexextfic { field: i64, }, Testnsd { field: i64, }, Testnst { field: i64, }, Testnsdnst { field: i64, }, Testnod { field: i64, }, Testexextfs { field: String, }, Testexextfsi { field1: String, field2: i64, }, Testexextfsic { field1: String, field2: i64, }, Testio { field1: i64, field2: Option<i64>, }, Testl { field: Vec<i64>, }, Testol { field: Vec<Option<i64>>, }, Testm { field: HashMap<i64, String>, }, Testp { field: i64, }, Testpp { field1: i64, field2: i64, field3: String, }, Testpmpil { field1: HashMap<i64, String>, field2: i64, field3: Vec<i64>, }, TestrRead {}, TestrexRead {}, TesttTest {}, TesttexTest {}, Testenum { field: TestOneVariantComma, }, Testbool { field: bool, }, Testotherfile {}, Brsf { features: i64, }, CindTest {}, CindRead {}, Clcc {}, Bcc {}, Bcs { codec: i64, }, Bac { codecs: Vec<i64>, }, Bind { indicators: Vec<i64>, }, BindTest {}, BindRead {}, Biev { anum: BluetoothHFIndicator, value: i64, }, ChldTest {}, Cmer { mode: i64, keyp: i64, disp: i64, ind: i64, }, Nrec { nrec: bool, }, Cops { three: i64, format: NetworkOperatorNameFormat, }, CopsRead {}, Cmee { enable: bool, }, Ccwa { enable: bool, }, Clip { enable: bool, }, Cnum {}, Vts { code: String, }, Vgs { level: i64, }, Vgm { level: i64, }, Bia { indrep: Vec<Option<bool>>, }, Answer {}, Chup {}, Chld { command: String, }, AtdNumber { number: String, }, AtdMemory { location: String, }, Bldn {},
}

Variants§

§

Testex

§

Testexext

§

TestCommand

§

Testexextfi

Fields

§field: i64
§

Testexextfic

Fields

§field: i64
§

Testnsd

Fields

§field: i64
§

Testnst

Fields

§field: i64
§

Testnsdnst

Fields

§field: i64
§

Testnod

Fields

§field: i64
§

Testexextfs

Fields

§field: String
§

Testexextfsi

Fields

§field1: String
§field2: i64
§

Testexextfsic

Fields

§field1: String
§field2: i64
§

Testio

Fields

§field1: i64
§field2: Option<i64>
§

Testl

Fields

§field: Vec<i64>
§

Testol

Fields

§field: Vec<Option<i64>>
§

Testm

Fields

§

Testp

Fields

§field: i64
§

Testpp

Fields

§field1: i64
§field2: i64
§field3: String
§

Testpmpil

Fields

§field1: HashMap<i64, String>
§field2: i64
§field3: Vec<i64>
§

TestrRead

§

TestrexRead

§

TesttTest

§

TesttexTest

§

Testenum

§

Testbool

Fields

§field: bool
§

Testotherfile

§

Brsf

Fields

§features: i64
§

CindTest

§

CindRead

§

Clcc

§

Bcc

§

Bcs

Fields

§codec: i64
§

Bac

Fields

§codecs: Vec<i64>
§

Bind

Fields

§indicators: Vec<i64>
§

BindTest

§

BindRead

§

Biev

Fields

§value: i64
§

ChldTest

§

Cmer

Fields

§mode: i64
§keyp: i64
§disp: i64
§ind: i64
§

Nrec

Fields

§nrec: bool
§

Cops

§

CopsRead

§

Cmee

Fields

§enable: bool
§

Ccwa

Fields

§enable: bool
§

Clip

Fields

§enable: bool
§

Cnum

§

Vts

Fields

§code: String
§

Vgs

Fields

§level: i64
§

Vgm

Fields

§level: i64
§

Bia

Fields

§indrep: Vec<Option<bool>>
§

Answer

§

Chup

§

Chld

Fields

§command: String
§

AtdNumber

Fields

§number: String
§

AtdMemory

Fields

§location: String
§

Bldn

Trait Implementations§

source§

impl Clone for Command

source§

fn clone(&self) -> Command

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Command

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for Command

source§

fn eq(&self, other: &Command) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for Command

source§

impl StructuralPartialEq for Command

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> SerDe for T
where T: SerDeOne + Clone,

source§

fn serialize<W>(sink: &mut W, values: &[T]) -> Result<(), SerializeError<T>>
where W: Write,

source§

fn deserialize<R>( source: &mut R, existing_bytes: DeserializeBytes, ) -> DeserializeResult<T>
where R: Read,

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.