Struct fuchsia_bluetooth::profile::Attribute
source · pub struct Attribute {
pub id: u16,
pub element: DataElement,
}
Expand description
A generic attribute used for protocol information.
Corresponds directly to the FIDL Attribute
definition - with the extra
properties of Clone and PartialEq.
See [fuchsia.bluetooth.bredr.Attribute] for more documentation.
Fields§
§id: u16
§element: DataElement
Trait Implementations§
source§impl PartialEq for Attribute
impl PartialEq for Attribute
impl StructuralPartialEq for Attribute
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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