pub struct RadioLinkInfo {
pub link_type: Option<String>,
pub preference: Option<u8>,
/* private fields */
}Expand description
Represents information associated with a radio link.
Fields§
§link_type: Option<String>Radio Link Type, e.g., ‘15.4’ or ‘TREL’. Considering a potential future expansion to other links, set the MAX capability to 10.
Required.
preference: Option<u8>Preference level of radio link.
Required.
Trait Implementations§
Source§impl Clone for RadioLinkInfo
impl Clone for RadioLinkInfo
Source§fn clone(&self) -> RadioLinkInfo
fn clone(&self) -> RadioLinkInfo
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 RadioLinkInfo
impl Debug for RadioLinkInfo
Source§impl<D: ResourceDialect> Decode<RadioLinkInfo, D> for RadioLinkInfo
impl<D: ResourceDialect> Decode<RadioLinkInfo, D> for RadioLinkInfo
Source§impl Default for RadioLinkInfo
impl Default for RadioLinkInfo
Source§fn default() -> RadioLinkInfo
fn default() -> RadioLinkInfo
Returns the “default value” for a type. Read more
Source§impl<D: ResourceDialect> Encode<RadioLinkInfo, D> for &RadioLinkInfo
impl<D: ResourceDialect> Encode<RadioLinkInfo, D> for &RadioLinkInfo
Source§impl PartialEq for RadioLinkInfo
impl PartialEq for RadioLinkInfo
Source§impl TypeMarker for RadioLinkInfo
impl TypeMarker for RadioLinkInfo
Source§type Owned = RadioLinkInfo
type Owned = RadioLinkInfo
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 RadioLinkInfo
impl ValueTypeMarker for RadioLinkInfo
Source§type Borrowed<'a> = &'a RadioLinkInfo
type Borrowed<'a> = &'a RadioLinkInfo
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 Persistable for RadioLinkInfo
impl StructuralPartialEq for RadioLinkInfo
Auto Trait Implementations§
impl Freeze for RadioLinkInfo
impl RefUnwindSafe for RadioLinkInfo
impl Send for RadioLinkInfo
impl Sync for RadioLinkInfo
impl Unpin for RadioLinkInfo
impl UnsafeUnpin for RadioLinkInfo
impl UnwindSafe for RadioLinkInfo
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