Struct fuchsia_bluetooth::profile::Information
source · pub struct Information {
pub language: String,
pub name: Option<String>,
pub description: Option<String>,
pub provider: Option<String>,
}
Expand description
Human-readable information about a service.
Corresponds directly to the FIDL Information
definition - with the extra
properties of Clone and PartialEq.
See [fuchsia.bluetooth.bredr.Information] for more documentation.
Fields§
§language: String
§name: Option<String>
§description: Option<String>
§provider: Option<String>
Trait Implementations§
source§impl Clone for Information
impl Clone for Information
source§fn clone(&self) -> Information
fn clone(&self) -> Information
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 Information
impl Debug for Information
source§impl PartialEq for Information
impl PartialEq for Information
source§fn eq(&self, other: &Information) -> bool
fn eq(&self, other: &Information) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&Information> for Information
impl TryFrom<&Information> for Information
source§fn try_from(src: &Information) -> Result<Information, Self::Error>
fn try_from(src: &Information) -> Result<Information, Self::Error>
Performs the conversion.
source§impl TryFrom<&Information> for Information
impl TryFrom<&Information> for Information
source§fn try_from(src: &Information) -> Result<Information, Self::Error>
fn try_from(src: &Information) -> Result<Information, Self::Error>
Performs the conversion.
impl StructuralPartialEq for Information
Auto Trait Implementations§
impl RefUnwindSafe for Information
impl Send for Information
impl Sync for Information
impl Unpin for Information
impl UnwindSafe for Information
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