pub struct RichData {
pub recommended_version: Option<String>,
}Expand description
CLEANLIB-601: typed subset of the App’s rich_data block. Carries the
recommended_version upgrade target for the CLI fix command. #[serde(default)]
- no
deny_unknown_fields— otherrich_datakeys (evidence/composition, which the App also hoists to top-level passthrough fields above) are tolerated, and arich_dataobject missingrecommended_versiondeserializes toNone.
Fields§
§recommended_version: Option<String>The App’s suggested upgrade target (e.g. "4.17.21"). None when the
App emits no recommendation for this coordinate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RichData
impl<'de> Deserialize<'de> for RichData
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 RichData
impl RefUnwindSafe for RichData
impl Send for RichData
impl Sync for RichData
impl Unpin for RichData
impl UnsafeUnpin for RichData
impl UnwindSafe for RichData
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