pub struct BandRssiAdjustment {
pub band: WlanBand,
pub rssi_adjustment: i8,
}Expand description
An adjustment to be made to the observed RSSI values for BSSs in the specified band.
Fields§
§band: WlanBand§rssi_adjustment: i8Trait Implementations§
Source§impl Clone for BandRssiAdjustment
impl Clone for BandRssiAdjustment
Source§fn clone(&self) -> BandRssiAdjustment
fn clone(&self) -> BandRssiAdjustment
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 moreSource§impl Debug for BandRssiAdjustment
impl Debug for BandRssiAdjustment
Source§impl<D: ResourceDialect> Decode<BandRssiAdjustment, D> for BandRssiAdjustment
impl<D: ResourceDialect> Decode<BandRssiAdjustment, D> for BandRssiAdjustment
Source§impl<D: ResourceDialect> Encode<BandRssiAdjustment, D> for &BandRssiAdjustment
impl<D: ResourceDialect> Encode<BandRssiAdjustment, D> for &BandRssiAdjustment
Source§impl<D: ResourceDialect, T0: Encode<WlanBand, D>, T1: Encode<i8, D>> Encode<BandRssiAdjustment, D> for (T0, T1)
impl<D: ResourceDialect, T0: Encode<WlanBand, D>, T1: Encode<i8, D>> Encode<BandRssiAdjustment, D> for (T0, T1)
Source§impl Hash for BandRssiAdjustment
impl Hash for BandRssiAdjustment
Source§impl Ord for BandRssiAdjustment
impl Ord for BandRssiAdjustment
Source§fn cmp(&self, other: &BandRssiAdjustment) -> Ordering
fn cmp(&self, other: &BandRssiAdjustment) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BandRssiAdjustment
impl PartialEq for BandRssiAdjustment
Source§impl PartialOrd for BandRssiAdjustment
impl PartialOrd for BandRssiAdjustment
Source§impl TypeMarker for BandRssiAdjustment
impl TypeMarker for BandRssiAdjustment
Source§type Owned = BandRssiAdjustment
type Owned = BandRssiAdjustment
The owned Rust type which this FIDL type decodes into.
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align.Source§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned to a single memcpy. Read moreSource§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned to a single memcpy.Source§impl ValueTypeMarker for BandRssiAdjustment
impl ValueTypeMarker for BandRssiAdjustment
Source§type Borrowed<'a> = &'a BandRssiAdjustment
type Borrowed<'a> = &'a BandRssiAdjustment
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned. There are three cases: Read moreimpl Copy for BandRssiAdjustment
impl Eq for BandRssiAdjustment
impl Persistable for BandRssiAdjustment
impl StructuralPartialEq for BandRssiAdjustment
Auto Trait Implementations§
impl Freeze for BandRssiAdjustment
impl RefUnwindSafe for BandRssiAdjustment
impl Send for BandRssiAdjustment
impl Sync for BandRssiAdjustment
impl Unpin for BandRssiAdjustment
impl UnsafeUnpin for BandRssiAdjustment
impl UnwindSafe for BandRssiAdjustment
Blanket Implementations§
Source§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
Source§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
The marker type to use when the body is at the top-level.
Source§type MarkerInResultUnion = T
type MarkerInResultUnion = T
The marker type to use when the body is nested in a result union.
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