pub struct GattCharacteristic {
pub status: Status,
pub characteristic_handle: AttributeHandle,
}
Expand description
Parameters returned by the GATT Add Characteristic command.
Fields§
§status: Status
Did the command fail, and if so, how?
characteristic_handle: AttributeHandle
Handle of the characteristic.
Trait Implementations§
Source§impl Clone for GattCharacteristic
impl Clone for GattCharacteristic
Source§fn clone(&self) -> GattCharacteristic
fn clone(&self) -> GattCharacteristic
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 GattCharacteristic
impl Debug for GattCharacteristic
impl Copy for GattCharacteristic
Auto Trait Implementations§
impl Freeze for GattCharacteristic
impl RefUnwindSafe for GattCharacteristic
impl Send for GattCharacteristic
impl Sync for GattCharacteristic
impl Unpin for GattCharacteristic
impl UnwindSafe for GattCharacteristic
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