[−][src]Struct yooper::description::Device
A Logical device. One physical "Device" may contain multiple logical Devices.
Fields
device_type: DeviceType
UPnP Device Type
friendly_name: String
Short description for end user. Should be < 64 characters.
manufacturer: String
Manufacturer's name. Should be <64 characters.
manufacturer_url: Option<String>
Web site for Manufacturer
model_description: Option<String>
Long description for the end user. Should be < 128 characters
model_name: Option<String>
Should be < 128 characters
model_number: Option<String>
Should be < 32 characters
model_url: Option<String>
serial_number: Option<String>
Shourd be < 64 characters
unique_device_name: UniqueDeviceName
universally-unique identifier for the device. Shall be the same over time for a specific device. Shall max the field value of the NT header in discovery messages
upc: Option<String>
Universal product code.
services: Vec<Service>
devices: Vec<Device>
presentation_url: Option<String>
A page to display to the end user
Trait Implementations
impl Debug for Device
[src]
impl<'de> Deserialize<'de> for Device
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Device> for Device
[src]
impl StructuralPartialEq for Device
[src]
Auto Trait Implementations
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,