#[non_exhaustive]pub struct ConfidentialNodes {
pub enabled: bool,
pub confidential_instance_type: ConfidentialInstanceType,
/* private fields */
}Expand description
ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: boolWhether Confidential Nodes feature is enabled.
confidential_instance_type: ConfidentialInstanceTypeDefines the type of technology used by the confidential node.
Implementations§
Source§impl ConfidentialNodes
impl ConfidentialNodes
pub fn new() -> Self
Sourcepub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_enabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of enabled.
Sourcepub fn set_confidential_instance_type<T: Into<ConfidentialInstanceType>>(
self,
v: T,
) -> Self
pub fn set_confidential_instance_type<T: Into<ConfidentialInstanceType>>( self, v: T, ) -> Self
Sets the value of confidential_instance_type.
Trait Implementations§
Source§impl Clone for ConfidentialNodes
impl Clone for ConfidentialNodes
Source§fn clone(&self) -> ConfidentialNodes
fn clone(&self) -> ConfidentialNodes
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 ConfidentialNodes
impl Debug for ConfidentialNodes
Source§impl Default for ConfidentialNodes
impl Default for ConfidentialNodes
Source§fn default() -> ConfidentialNodes
fn default() -> ConfidentialNodes
Returns the “default value” for a type. Read more
Source§impl Message for ConfidentialNodes
impl Message for ConfidentialNodes
Source§impl PartialEq for ConfidentialNodes
impl PartialEq for ConfidentialNodes
impl StructuralPartialEq for ConfidentialNodes
Auto Trait Implementations§
impl Freeze for ConfidentialNodes
impl RefUnwindSafe for ConfidentialNodes
impl Send for ConfidentialNodes
impl Sync for ConfidentialNodes
impl Unpin for ConfidentialNodes
impl UnwindSafe for ConfidentialNodes
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