pub struct MachineProfileSafety {
pub default_destructive: bool,
pub requires_confirmation: bool,
pub requires_target_attestation: bool,
pub allowed_targets: Vec<MachineProfileTarget>,
}Fields§
§default_destructive: bool§requires_confirmation: bool§requires_target_attestation: bool§allowed_targets: Vec<MachineProfileTarget>Trait Implementations§
Source§impl Clone for MachineProfileSafety
impl Clone for MachineProfileSafety
Source§fn clone(&self) -> MachineProfileSafety
fn clone(&self) -> MachineProfileSafety
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MachineProfileSafety
impl Debug for MachineProfileSafety
Source§impl<'de> Deserialize<'de> for MachineProfileSafety
impl<'de> Deserialize<'de> for MachineProfileSafety
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MachineProfileSafety
impl RefUnwindSafe for MachineProfileSafety
impl Send for MachineProfileSafety
impl Sync for MachineProfileSafety
impl Unpin for MachineProfileSafety
impl UnsafeUnpin for MachineProfileSafety
impl UnwindSafe for MachineProfileSafety
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