pub struct DeviceInfo {
pub name: Option<String>,
pub description: Option<String>,
pub model_family: Option<String>,
pub hardware_version: Option<String>,
pub software_version: Option<String>,
pub owners: Vec<String>,
}Expand description
Neutral device metadata the bridge syncs with the remote. The bridge-flavored
wire form (studio-bridge’s PartialDeviceInfo) is converted to/from this by
the connector.
Fields§
§name: Option<String>§description: Option<String>§model_family: Option<String>§hardware_version: Option<String>§software_version: Option<String>§owners: Vec<String>Trait Implementations§
Source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
Source§fn clone(&self) -> DeviceInfo
fn clone(&self) -> DeviceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DeviceInfo
impl Debug for DeviceInfo
Source§impl Default for DeviceInfo
impl Default for DeviceInfo
Source§fn default() -> DeviceInfo
fn default() -> DeviceInfo
Returns the “default value” for a type. Read more
impl Eq for DeviceInfo
Source§impl PartialEq for DeviceInfo
impl PartialEq for DeviceInfo
Source§fn eq(&self, other: &DeviceInfo) -> bool
fn eq(&self, other: &DeviceInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceInfo
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnsafeUnpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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