pub struct HostInterfaceUpdate {
pub base: Option<ResourceUpdate>,
pub interface_enabled: Option<Boolean>,
pub authentication_modes: Option<Vec<AuthenticationMode>>,
pub kernel_auth_role_id: Option<String>,
pub kernel_auth_enabled: Option<Boolean>,
pub firmware_auth_role_id: Option<String>,
pub firmware_auth_enabled: Option<Boolean>,
pub auth_none_role_id: Option<String>,
pub credential_bootstrapping: Option<CredentialBootstrappingUpdate>,
}Expand description
Update struct corresponding to HostInterface
Fields§
§base: Option<ResourceUpdate>§interface_enabled: Option<Boolean>§authentication_modes: Option<Vec<AuthenticationMode>>§kernel_auth_role_id: Option<String>§kernel_auth_enabled: Option<Boolean>§firmware_auth_role_id: Option<String>§firmware_auth_enabled: Option<Boolean>§auth_none_role_id: Option<String>§credential_bootstrapping: Option<CredentialBootstrappingUpdate>Implementations§
Source§impl HostInterfaceUpdate
impl HostInterfaceUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_base(self, v: ResourceUpdate) -> Self
pub fn with_interface_enabled(self, v: Boolean) -> Self
pub fn with_authentication_modes(self, v: Vec<AuthenticationMode>) -> Self
pub fn with_kernel_auth_role_id(self, v: String) -> Self
pub fn with_kernel_auth_enabled(self, v: Boolean) -> Self
pub fn with_firmware_auth_role_id(self, v: String) -> Self
pub fn with_firmware_auth_enabled(self, v: Boolean) -> Self
pub fn with_auth_none_role_id(self, v: String) -> Self
pub fn with_credential_bootstrapping( self, v: CredentialBootstrappingUpdate, ) -> Self
Trait Implementations§
Source§impl Debug for HostInterfaceUpdate
impl Debug for HostInterfaceUpdate
Source§impl Default for HostInterfaceUpdate
impl Default for HostInterfaceUpdate
Source§fn default() -> HostInterfaceUpdate
fn default() -> HostInterfaceUpdate
Returns the “default value” for a type. Read more
Source§impl Serialize for HostInterfaceUpdate
impl Serialize for HostInterfaceUpdate
Auto Trait Implementations§
impl Freeze for HostInterfaceUpdate
impl RefUnwindSafe for HostInterfaceUpdate
impl Send for HostInterfaceUpdate
impl Sync for HostInterfaceUpdate
impl Unpin for HostInterfaceUpdate
impl UnsafeUnpin for HostInterfaceUpdate
impl UnwindSafe for HostInterfaceUpdate
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