pub struct Characteristic {
pub uuid: Uuid,
pub name: Option<&'static str>,
pub declaration: u16,
pub value_handle: u16,
pub properties: Properties,
pub end: u16,
pub descriptors: Vec<Descriptor>,
}Expand description
A characteristic on a peer’s server.
Fields§
§uuid: UuidIts UUID.
name: Option<&'static str>The SIG’s name for it.
declaration: u16The declaration’s handle.
value_handle: u16The value’s handle (what reads and writes address).
properties: PropertiesProperties.
end: u16The last handle belonging to the characteristic.
descriptors: Vec<Descriptor>Descriptors, when discovered.
Implementations§
Trait Implementations§
Source§impl Clone for Characteristic
impl Clone for Characteristic
Source§impl Debug for Characteristic
impl Debug for Characteristic
impl Eq for Characteristic
Source§impl PartialEq for Characteristic
impl PartialEq for Characteristic
Source§impl Serialize for Characteristic
impl Serialize for Characteristic
impl StructuralPartialEq for Characteristic
Auto Trait Implementations§
impl Freeze for Characteristic
impl RefUnwindSafe for Characteristic
impl Send for Characteristic
impl Sync for Characteristic
impl Unpin for Characteristic
impl UnsafeUnpin for Characteristic
impl UnwindSafe for Characteristic
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