pub struct ServiceData {
pub uuid: Uuid,
pub name: Option<&'static str>,
pub data: Vec<u8>,
}Expand description
Service data: a UUID and the bytes the service defines.
Fields§
§uuid: UuidThe service UUID.
name: Option<&'static str>The SIG’s name for the UUID.
data: Vec<u8>The data.
Trait Implementations§
Source§impl Clone for ServiceData
impl Clone for ServiceData
Source§impl Debug for ServiceData
impl Debug for ServiceData
impl Eq for ServiceData
Source§impl PartialEq for ServiceData
impl PartialEq for ServiceData
Source§impl Serialize for ServiceData
impl Serialize for ServiceData
impl StructuralPartialEq for ServiceData
Auto Trait Implementations§
impl Freeze for ServiceData
impl RefUnwindSafe for ServiceData
impl Send for ServiceData
impl Sync for ServiceData
impl Unpin for ServiceData
impl UnsafeUnpin for ServiceData
impl UnwindSafe for ServiceData
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