pub struct HarnessSettingRecommendation {
pub label: String,
pub description: String,
pub consequence: String,
pub change: HarnessSettingChange,
pub command: String,
}Expand description
Concrete, reviewable remediation for an advisory.
Fields§
§label: StringShort action label.
description: StringDescription of the native change.
consequence: StringSecurity or behavior consequence the user should review.
change: HarnessSettingChangeMachine-readable change for trusted hosts.
command: StringEquivalent CLI command for transparent manual use.
Trait Implementations§
Source§impl Clone for HarnessSettingRecommendation
impl Clone for HarnessSettingRecommendation
Source§fn clone(&self) -> HarnessSettingRecommendation
fn clone(&self) -> HarnessSettingRecommendation
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 HarnessSettingRecommendation
impl Debug for HarnessSettingRecommendation
Source§impl<'de> Deserialize<'de> for HarnessSettingRecommendation
impl<'de> Deserialize<'de> for HarnessSettingRecommendation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HarnessSettingRecommendation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HarnessSettingRecommendation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HarnessSettingRecommendation
Source§impl Serialize for HarnessSettingRecommendation
impl Serialize for HarnessSettingRecommendation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for HarnessSettingRecommendation
Auto Trait Implementations§
impl Freeze for HarnessSettingRecommendation
impl RefUnwindSafe for HarnessSettingRecommendation
impl Send for HarnessSettingRecommendation
impl Sync for HarnessSettingRecommendation
impl Unpin for HarnessSettingRecommendation
impl UnsafeUnpin for HarnessSettingRecommendation
impl UnwindSafe for HarnessSettingRecommendation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.