pub struct AssignedNumber {
pub number: u16,
pub abbreviation: Option<&'static str>,
pub name: &'static str,
}
Expand description
An assigned number, code, or identifier for a concept in the Bluetooth wireless standard. Includes an associated abbreviation and human-readable name for the number.
Fields§
§number: u16
16-bit Bluetooth UUID.
abbreviation: Option<&'static str>
Short abbreviation of the name
name: &'static str
Human readable name
Implementations§
Trait Implementations§
Source§impl Clone for AssignedNumber
impl Clone for AssignedNumber
Source§fn clone(&self) -> AssignedNumber
fn clone(&self) -> AssignedNumber
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 AssignedNumber
impl Debug for AssignedNumber
Source§impl PartialEq for AssignedNumber
impl PartialEq for AssignedNumber
impl Copy for AssignedNumber
impl StructuralPartialEq for AssignedNumber
Auto Trait Implementations§
impl Freeze for AssignedNumber
impl RefUnwindSafe for AssignedNumber
impl Send for AssignedNumber
impl Sync for AssignedNumber
impl Unpin for AssignedNumber
impl UnwindSafe for AssignedNumber
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
)