Struct HostInternetScsiHba

Source
pub struct HostInternetScsiHba {
Show 27 fields pub key: Option<String>, pub device: String, pub bus: i32, pub status: String, pub model: String, pub driver: Option<String>, pub pci: Option<String>, pub storage_protocol: Option<String>, pub is_software_based: bool, pub can_be_disabled: Option<bool>, pub network_binding_support: Option<HostInternetScsiHbaNetworkBindingSupportTypeEnum>, pub discovery_capabilities: HostInternetScsiHbaDiscoveryCapabilities, pub discovery_properties: HostInternetScsiHbaDiscoveryProperties, pub authentication_capabilities: HostInternetScsiHbaAuthenticationCapabilities, pub authentication_properties: HostInternetScsiHbaAuthenticationProperties, pub digest_capabilities: Option<HostInternetScsiHbaDigestCapabilities>, pub digest_properties: Option<HostInternetScsiHbaDigestProperties>, pub ip_capabilities: HostInternetScsiHbaIpCapabilities, pub ip_properties: HostInternetScsiHbaIpProperties, pub supported_advanced_options: Option<Vec<OptionDef>>, pub advanced_options: Option<Vec<HostInternetScsiHbaParamValue>>, pub i_scsi_name: String, pub i_scsi_alias: Option<String>, pub configured_send_target: Option<Vec<HostInternetScsiHbaSendTarget>>, pub configured_static_target: Option<Vec<HostInternetScsiHbaStaticTarget>>, pub max_speed_mb: Option<i32>, pub current_speed_mb: Option<i32>,
}
Expand description

This data object type describes the iSCSI host bus adapter interface.

Fields§

§key: Option<String>

The linkable identifier.

§device: String

The device name of host bus adapter.

§bus: i32

The host bus number.

§status: String

The operational status of the adapter.

Valid values include “online”, “offline”, “unbound”, and “unknown”.

§model: String

The model name of the host bus adapter.

§driver: Option<String>

The name of the driver.

§pci: Option<String>

The Peripheral Connect Interface (PCI) ID of the device representing the host bus adapter.

§storage_protocol: Option<String>

The type of protocol supported by the host bus adapter.

The list of supported values is described in HostStorageProtocol_enum. When unset, a default value of “scsi” is assumed.

§is_software_based: bool

True if this host bus adapter is a software based initiator utilizing the hosting system’s existing TCP/IP network connection

§can_be_disabled: Option<bool>

Can this adapter be disabled

§network_binding_support: Option<HostInternetScsiHbaNetworkBindingSupportTypeEnum>

Specifies if this iSCSI Adapter requires a bound network interface to function.

§discovery_capabilities: HostInternetScsiHbaDiscoveryCapabilities

The discovery capabilities for this host bus adapter.

§discovery_properties: HostInternetScsiHbaDiscoveryProperties

The discovery settings for this host bus adapter.

§authentication_capabilities: HostInternetScsiHbaAuthenticationCapabilities

The authentication capabilities for this host bus adapter.

§authentication_properties: HostInternetScsiHbaAuthenticationProperties

The authentication settings for this host bus adapter.

All static and discovery targets will inherit the use of these settings unless their authentication settings are explicitly set.

§digest_capabilities: Option<HostInternetScsiHbaDigestCapabilities>

The authentication capabilities for this host bus adapter.

§digest_properties: Option<HostInternetScsiHbaDigestProperties>

The digest settings for this host bus adapter.

All static and discovery targets will inherit the use of these properties unless their digest settings are explicitly set.

§ip_capabilities: HostInternetScsiHbaIpCapabilities

The IP capabilities for this host bus adapter.

§ip_properties: HostInternetScsiHbaIpProperties

The IP settings for this host bus adapter.

§supported_advanced_options: Option<Vec<OptionDef>>

A list of supported key/value pair advanced options for the host bus adapter including their type information.

§advanced_options: Option<Vec<HostInternetScsiHbaParamValue>>

A list of the current options settings for the host bus adapter.

§i_scsi_name: String

The iSCSI name of this host bus adapter.

§i_scsi_alias: Option<String>

The iSCSI alias of this host bus adapter.

§configured_send_target: Option<Vec<HostInternetScsiHbaSendTarget>>

The configured iSCSI send target entries.

§configured_static_target: Option<Vec<HostInternetScsiHbaStaticTarget>>

The configured iSCSI static target entries.

§max_speed_mb: Option<i32>

The maximum supported link speed of the port in megabits per second.

§current_speed_mb: Option<i32>

The Current operating link speed of the port in megabits per second.

Trait Implementations§

Source§

impl Debug for HostInternetScsiHba

Source§

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

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

impl<'de> Deserialize<'de> for HostInternetScsiHba

Source§

fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>

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

impl HostHostBusAdapterTrait for HostInternetScsiHba

Source§

fn get_key(&self) -> &Option<String>

The linkable identifier.
Source§

fn get_device(&self) -> &str

The device name of host bus adapter.
Source§

fn get_bus(&self) -> i32

The host bus number.
Source§

fn get_status(&self) -> &str

The operational status of the adapter. Read more
Source§

fn get_model(&self) -> &str

The model name of the host bus adapter.
Source§

fn get_driver(&self) -> &Option<String>

The name of the driver.
Source§

fn get_pci(&self) -> &Option<String>

The Peripheral Connect Interface (PCI) ID of the device representing the host bus adapter.
Source§

fn get_storage_protocol(&self) -> &Option<String>

The type of protocol supported by the host bus adapter. Read more
Source§

impl Serialize for HostInternetScsiHba

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 VimObjectTrait for HostInternetScsiHba

Source§

impl DataObjectTrait for HostInternetScsiHba

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> AsAny for T
where T: 'static,

Source§

fn as_any_ref<'a>(&'a self) -> &'a (dyn Any + 'static)

Cast a reference to Any trait.

Source§

fn as_any_box(self: Box<T>) -> Box<dyn Any>

Cast to a boxed reference to Any trait.

Source§

fn type_id(&self) -> TypeId

Get the underlying type identifier.
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<To, T> CastInto<To> for T
where To: CastFrom<T> + ?Sized, T: 'static + ?Sized,

Source§

fn into_ref<'a>(&'a self) -> Option<&'a To>

Casts a reference to a trait object. If the cast fails, std::option::Option::None is returned.
Source§

fn into_box(self: Box<T>) -> Result<Box<To>, Box<dyn Any>>

Casts a boxed trait object to another trait object. If the cast fails, the original boxed trait object is returned in std::result::Result::Err.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. 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> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

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

Source§

impl<T> ErasedDestructor for T
where T: 'static,