Struct fuchsia_bluetooth::types::le::ServiceData
source · pub struct ServiceData {
pub uuid: Uuid,
pub data: Vec<u8>,
}
Fields§
§uuid: Uuid
§data: Vec<u8>
Trait Implementations§
source§impl Clone for ServiceData
impl Clone for ServiceData
source§fn clone(&self) -> ServiceData
fn clone(&self) -> ServiceData
Returns a copy 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 ServiceData
impl Debug for ServiceData
source§impl From<ServiceData> for ServiceData
impl From<ServiceData> for ServiceData
source§fn from(src: ServiceData) -> ServiceData
fn from(src: ServiceData) -> ServiceData
Converts to this type from the input type.
source§impl PartialEq for ServiceData
impl PartialEq for ServiceData
source§fn eq(&self, other: &ServiceData) -> bool
fn eq(&self, other: &ServiceData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<ServiceDataEntry> for ServiceData
impl TryFrom<ServiceDataEntry> for ServiceData
source§fn try_from(src: ServiceDataEntry) -> Result<ServiceData, Self::Error>
fn try_from(src: ServiceDataEntry) -> Result<ServiceData, Self::Error>
Performs the conversion.
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 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