Skip to main content

IscsiBootUpdate

Struct IscsiBootUpdate 

Source
pub struct IscsiBootUpdate {
Show 27 fields pub ip_address_type: Option<IpAddressType>, pub initiator_ip_address: Option<String>, pub initiator_name: Option<String>, pub initiator_default_gateway: Option<String>, pub initiator_netmask: Option<String>, pub target_info_via_dhcp: Option<Boolean>, pub primary_target_name: Option<String>, pub primary_target_ip_address: Option<String>, pub primary_target_tcp_port: Option<Int64>, pub primary_lun: Option<Int64>, pub primary_vlan_enable: Option<Boolean>, pub primary_vlanid: Option<Int64>, pub primary_dns: Option<String>, pub secondary_target_name: Option<String>, pub secondary_target_ip_address: Option<String>, pub secondary_target_tcp_port: Option<Int64>, pub secondary_lun: Option<Int64>, pub secondary_vlan_enable: Option<Boolean>, pub secondary_vlanid: Option<Int64>, pub secondary_dns: Option<String>, pub ip_mask_dns_via_dhcp: Option<Boolean>, pub router_advertisement_enabled: Option<Boolean>, pub authentication_method: Option<AuthenticationMethod>, pub chap_username: Option<String>, pub chap_secret: Option<String>, pub mutual_chap_username: Option<String>, pub mutual_chap_secret: Option<String>,
}
Expand description

Update struct corresponding to IscsiBoot

Fields§

§ip_address_type: Option<IpAddressType>§initiator_ip_address: Option<String>§initiator_name: Option<String>§initiator_default_gateway: Option<String>§initiator_netmask: Option<String>§target_info_via_dhcp: Option<Boolean>§primary_target_name: Option<String>§primary_target_ip_address: Option<String>§primary_target_tcp_port: Option<Int64>§primary_lun: Option<Int64>§primary_vlan_enable: Option<Boolean>§primary_vlanid: Option<Int64>§primary_dns: Option<String>§secondary_target_name: Option<String>§secondary_target_ip_address: Option<String>§secondary_target_tcp_port: Option<Int64>§secondary_lun: Option<Int64>§secondary_vlan_enable: Option<Boolean>§secondary_vlanid: Option<Int64>§secondary_dns: Option<String>§ip_mask_dns_via_dhcp: Option<Boolean>§router_advertisement_enabled: Option<Boolean>§authentication_method: Option<AuthenticationMethod>§chap_username: Option<String>§chap_secret: Option<String>§mutual_chap_username: Option<String>§mutual_chap_secret: Option<String>

Implementations§

Source§

impl IscsiBootUpdate

Source

pub fn builder() -> Self

Source

pub const fn build(self) -> Self

Source

pub fn with_ip_address_type(self, v: IpAddressType) -> Self

Source

pub fn with_initiator_ip_address(self, v: String) -> Self

Source

pub fn with_initiator_name(self, v: String) -> Self

Source

pub fn with_initiator_default_gateway(self, v: String) -> Self

Source

pub fn with_initiator_netmask(self, v: String) -> Self

Source

pub fn with_target_info_via_dhcp(self, v: Boolean) -> Self

Source

pub fn with_primary_target_name(self, v: String) -> Self

Source

pub fn with_primary_target_ip_address(self, v: String) -> Self

Source

pub fn with_primary_target_tcp_port(self, v: Int64) -> Self

Source

pub fn with_primary_lun(self, v: Int64) -> Self

Source

pub fn with_primary_vlan_enable(self, v: Boolean) -> Self

Source

pub fn with_primary_vlanid(self, v: Int64) -> Self

Source

pub fn with_primary_dns(self, v: String) -> Self

Source

pub fn with_secondary_target_name(self, v: String) -> Self

Source

pub fn with_secondary_target_ip_address(self, v: String) -> Self

Source

pub fn with_secondary_target_tcp_port(self, v: Int64) -> Self

Source

pub fn with_secondary_lun(self, v: Int64) -> Self

Source

pub fn with_secondary_vlan_enable(self, v: Boolean) -> Self

Source

pub fn with_secondary_vlanid(self, v: Int64) -> Self

Source

pub fn with_secondary_dns(self, v: String) -> Self

Source

pub fn with_ip_mask_dns_via_dhcp(self, v: Boolean) -> Self

Source

pub fn with_router_advertisement_enabled(self, v: Boolean) -> Self

Source

pub fn with_authentication_method(self, v: AuthenticationMethod) -> Self

Source

pub fn with_chap_username(self, v: String) -> Self

Source

pub fn with_chap_secret(self, v: String) -> Self

Source

pub fn with_mutual_chap_username(self, v: String) -> Self

Source

pub fn with_mutual_chap_secret(self, v: String) -> Self

Trait Implementations§

Source§

impl Debug for IscsiBootUpdate

Source§

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

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

impl Default for IscsiBootUpdate

Source§

fn default() -> IscsiBootUpdate

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

impl Serialize for IscsiBootUpdate

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

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> 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