pub struct Recommendation {
pub text: Option<String>,
pub url: Option<String>,
}
Expand description
A recommendation on how to remediate the issue identified in a finding.
Fields§
§text: Option<String>
Describes the recommended steps to take to remediate an issue identified in a finding.
url: Option<String>
A URL to a page or site that contains information about how to remediate a finding.
Trait Implementations§
Source§impl Clone for Recommendation
impl Clone for Recommendation
Source§fn clone(&self) -> Recommendation
fn clone(&self) -> Recommendation
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 Recommendation
impl Debug for Recommendation
Source§impl Default for Recommendation
impl Default for Recommendation
Source§fn default() -> Recommendation
fn default() -> Recommendation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Recommendation
impl<'de> Deserialize<'de> for Recommendation
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
Source§impl PartialEq for Recommendation
impl PartialEq for Recommendation
Source§impl Serialize for Recommendation
impl Serialize for Recommendation
impl StructuralPartialEq for Recommendation
Auto Trait Implementations§
impl Freeze for Recommendation
impl RefUnwindSafe for Recommendation
impl Send for Recommendation
impl Sync for Recommendation
impl Unpin for Recommendation
impl UnwindSafe for Recommendation
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