pub struct AccessPoint {
    pub ssid: Vec<u8>,
    pub strength: u8,
    pub associated_connection: Path<'static>,
    pub dbus_path: Path<'static>,
    pub stored: bool,
}

Fields§

§ssid: Vec<u8>§strength: u8§associated_connection: Path<'static>§dbus_path: Path<'static>§stored: bool

Trait Implementations§

source§

impl Append for AccessPoint

source§

fn append_by_ref(&self, iter: &mut IterAppend<'_>)

Performs the append operation by borrowing self.
source§

fn append(self, ia: &mut IterAppend<'_>)
where Self: Sized,

Performs the append operation by consuming self.
source§

impl Arg for AccessPoint

source§

const ARG_TYPE: ArgType = ArgType::Struct

The corresponding D-Bus argument type code.
source§

fn signature() -> Signature<'static>

The corresponding D-Bus type signature for this type.
source§

impl Clone for AccessPoint

source§

fn clone(&self) -> AccessPoint

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 AccessPoint

source§

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

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

impl Default for AccessPoint

source§

fn default() -> AccessPoint

Returns the “default value” for a type. Read more
source§

impl<'a> Get<'a> for AccessPoint

source§

fn get(i: &mut Iter<'a>) -> Option<Self>

Performs the get operation.
source§

impl RefArg for AccessPoint

source§

fn arg_type(&self) -> ArgType

The corresponding D-Bus argument type code.
source§

fn signature(&self) -> Signature<'static>

The corresponding D-Bus type signature for this type.
source§

fn append(&self, i: &mut IterAppend<'_>)

Performs the append operation.
source§

fn as_any(&self) -> &dyn Any
where Self: 'static,

Transforms this argument to Any (which can be downcasted to read the current value). Read more
source§

fn as_any_mut(&mut self) -> &mut dyn Any
where Self: 'static,

Transforms this argument to Any (which can be downcasted to read the current value). Read more
source§

fn box_clone(&self) -> Box<dyn RefArg + 'static>

Deep clone of the RefArg, causing the result to be ’static. Read more
source§

fn as_i64(&self) -> Option<i64>

Try to read the argument as an i64. Read more
source§

fn as_u64(&self) -> Option<u64>

Try to read the argument as an u64. Read more
source§

fn as_f64(&self) -> Option<f64>

Try to read the argument as an f64. Read more
source§

fn as_str(&self) -> Option<&str>

Try to read the argument as a str. Read more
source§

fn as_iter<'a>( &'a self ) -> Option<Box<dyn Iterator<Item = &'a dyn RefArg> + 'a>>

Try to read the argument as an iterator. Read more
source§

fn as_static_inner(&self, _index: usize) -> Option<&(dyn RefArg + 'static)>
where Self: 'static,

Try to read the inner of an argument, as another argument, specifying an index. Read more
source§

fn array_clone(_arg: &[Self]) -> Option<Box<dyn RefArg>>
where Self: Sized,

Deep clone of an array. Read more
source§

impl Send for AccessPoint

source§

impl Sync for AccessPoint

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> 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> 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.