pub struct DeviceSpec {
pub friendly_name: String,
pub device_type: String,
pub model_number: Option<String>,
pub model_description: Option<String>,
pub model_name: Option<String>,
pub ssl_port: Option<u16>,
/* private fields */
}Fields§
§friendly_name: String§device_type: String§model_number: Option<String>§model_description: Option<String>§model_name: Option<String>§ssl_port: Option<u16>Implementations§
Trait Implementations§
Source§impl Clone for DeviceSpec
impl Clone for DeviceSpec
Source§fn clone(&self) -> DeviceSpec
fn clone(&self) -> DeviceSpec
Returns a duplicate 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 DeviceSpec
impl Debug for DeviceSpec
Source§impl<'xml> FromXml<'xml> for DeviceSpec
impl<'xml> FromXml<'xml> for DeviceSpec
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<DeviceSpec>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for DeviceSpec
impl RefUnwindSafe for DeviceSpec
impl Send for DeviceSpec
impl Sync for DeviceSpec
impl Unpin for DeviceSpec
impl UnwindSafe for DeviceSpec
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