pub struct Device {Show 15 fields
pub device_type: TypeID,
pub friendly_name: String,
pub manufacturer: String,
pub manufacturer_url: Option<String>,
pub model_description: Option<String>,
pub model_name: String,
pub model_number: Option<String>,
pub model_url: Option<String>,
pub serial_number: Option<String>,
pub unique_device_name: String,
pub upc: Option<String>,
pub icon_list: Vec<Icon>,
pub service_list: Vec<Service>,
pub device_list: Vec<Device>,
pub presentation_url: Option<String>,
}
Fields§
§device_type: TypeID
§friendly_name: String
§manufacturer: String
§manufacturer_url: Option<String>
§model_description: Option<String>
§model_name: String
§model_number: Option<String>
§model_url: Option<String>
§serial_number: Option<String>
§unique_device_name: String
§upc: Option<String>
§icon_list: Vec<Icon>
§service_list: Vec<Service>
§device_list: Vec<Device>
§presentation_url: Option<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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