Skip to main content

MapDevice

Struct MapDevice 

Source
pub struct MapDevice {
Show 53 fields pub name: Option<String>, pub uid: Option<String>, pub catalog_number: Option<String>, pub vendor: Option<String>, pub product_type: Option<String>, pub product_code: Option<String>, pub major: Option<String>, pub minor: Option<String>, pub user_defined_vendor: Option<String>, pub user_defined_product_type: Option<String>, pub user_defined_product_code: Option<String>, pub user_defined_major: Option<String>, pub user_defined_minor: Option<String>, pub parent_uid: Option<String>, pub parent_module: Option<String>, pub parent_module_uid: Option<String>, pub parent_mod_port_id: Option<String>, pub inhibited: Option<String>, pub major_fault: Option<String>, pub driver_type: Option<String>, pub throttle: Option<String>, pub control_net_signature: Option<String>, pub safety_network: Option<String>, pub config_rev_supported: Option<String>, pub bumpless_reconfig_supported: Option<String>, pub include_port_segment: Option<String>, pub include_key_segment: Option<String>, pub shutdown_parent_on_fault: Option<String>, pub drives_adcmode: Option<String>, pub drives_adcenabled: Option<String>, pub verified: Option<String>, pub fault_code: Option<String>, pub fault_info: Option<String>, pub status: Option<String>, pub status_string: Option<String>, pub user_defined_catalog_number: Option<String>, pub safety_enabled: Option<String>, pub tracking_groups: Option<String>, pub import_create_mode: Option<String>, pub auto_diags_enabled: Option<String>, pub diagnostic_profile_id: Option<String>, pub duplex_enabled: Option<String>, pub use: Option<String>, pub custom_properties: Option<CustomPropertiesCollection>, pub description: Option<Description>, pub fault_string: Option<String>, pub ekey: Option<ModuleEKey>, pub ports: Option<PortCollection>, pub communications: Option<Communications>, pub extended_properties: Option<MapDeviceType_ExtendedProperties_Inline>, pub ping_method: Option<PingMethod>, pub sibling_dependencies: Option<SiblingDependenciesCollection>, pub text: Option<String>,
}
Expand description

MapDeviceType element

Note: Mixed content type

Fields§

§name: Option<String>

Name attribute

§uid: Option<String>

UId attribute

§catalog_number: Option<String>

CatalogNumber attribute

§vendor: Option<String>

Vendor attribute

§product_type: Option<String>

ProductType attribute

§product_code: Option<String>

ProductCode attribute

§major: Option<String>

Major attribute

§minor: Option<String>

Minor attribute

§user_defined_vendor: Option<String>

UserDefinedVendor attribute

§user_defined_product_type: Option<String>

UserDefinedProductType attribute

§user_defined_product_code: Option<String>

UserDefinedProductCode attribute

§user_defined_major: Option<String>

UserDefinedMajor attribute

§user_defined_minor: Option<String>

UserDefinedMinor attribute

§parent_uid: Option<String>

ParentUId attribute

§parent_module: Option<String>

ParentModule attribute

§parent_module_uid: Option<String>

ParentModuleUId attribute

§parent_mod_port_id: Option<String>

ParentModPortId attribute

§inhibited: Option<String>

Inhibited attribute

§major_fault: Option<String>

MajorFault attribute

§driver_type: Option<String>

DriverType attribute

§throttle: Option<String>

Throttle attribute

§control_net_signature: Option<String>

ControlNetSignature attribute

§safety_network: Option<String>

SafetyNetwork attribute

§config_rev_supported: Option<String>

ConfigRevSupported attribute

§bumpless_reconfig_supported: Option<String>

BumplessReconfigSupported attribute

§include_port_segment: Option<String>

IncludePortSegment attribute

§include_key_segment: Option<String>

IncludeKeySegment attribute

§shutdown_parent_on_fault: Option<String>

ShutdownParentOnFault attribute

§drives_adcmode: Option<String>

DrivesADCMode attribute

§drives_adcenabled: Option<String>

DrivesADCEnabled attribute

§verified: Option<String>

Verified attribute

§fault_code: Option<String>

FaultCode attribute

§fault_info: Option<String>

FaultInfo attribute

§status: Option<String>

Status attribute

§status_string: Option<String>

StatusString attribute

§user_defined_catalog_number: Option<String>

UserDefinedCatalogNumber attribute

§safety_enabled: Option<String>

SafetyEnabled attribute

§tracking_groups: Option<String>

TrackingGroups attribute

§import_create_mode: Option<String>

ImportCreateMode attribute

§auto_diags_enabled: Option<String>

AutoDiagsEnabled attribute

§diagnostic_profile_id: Option<String>

DiagnosticProfileID attribute

§duplex_enabled: Option<String>

DuplexEnabled attribute

§use: Option<String>

Use attribute

§custom_properties: Option<CustomPropertiesCollection>

CustomProperties element

§description: Option<Description>

Description element

§fault_string: Option<String>

FaultString element

§ekey: Option<ModuleEKey>

EKey element

§ports: Option<PortCollection>

Ports element

§communications: Option<Communications>

Communications element

§extended_properties: Option<MapDeviceType_ExtendedProperties_Inline>

ExtendedProperties element

§ping_method: Option<PingMethod>

PingMethod element

§sibling_dependencies: Option<SiblingDependenciesCollection>

SiblingDependencies element

§text: Option<String>

Text content

Trait Implementations§

Source§

impl Clone for MapDevice

Source§

fn clone(&self) -> MapDevice

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MapDevice

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MapDevice

Source§

fn default() -> MapDevice

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for MapDevice

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for MapDevice

Source§

fn eq(&self, other: &MapDevice) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for MapDevice

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for MapDevice

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,