pub struct AddServiceParameters {
pub uuid: Uuid,
pub service_type: ServiceType,
pub max_attribute_records: u8,
}
Expand description
Parameters for the GATT Add Service command.
Fields§
§uuid: Uuid
UUID of the service
service_type: ServiceType
Type of service
max_attribute_records: u8
The maximum number of attribute records that can be added to this service (including the service attribute, include attribute, characteristic attribute, characteristic value attribute and characteristic descriptor attribute).
Auto Trait Implementations§
impl Freeze for AddServiceParameters
impl RefUnwindSafe for AddServiceParameters
impl Send for AddServiceParameters
impl Sync for AddServiceParameters
impl Unpin for AddServiceParameters
impl UnwindSafe for AddServiceParameters
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