#[non_exhaustive]pub struct RecoveryRecommendation {
pub recovery_params: BTreeMap<String, f64>,
pub next_candidate_version: u64,
}Expand description
Bounded recovery recommendation pointing back to a prior safe parameter set.
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.recovery_params: BTreeMap<String, f64>Parameter values to restore.
next_candidate_version: u64Strictly newer policy version that will be assigned once applied.
Trait Implementations§
Source§impl Clone for RecoveryRecommendation
impl Clone for RecoveryRecommendation
Source§impl Debug for RecoveryRecommendation
impl Debug for RecoveryRecommendation
Source§impl<'de> Deserialize<'de> for RecoveryRecommendation
impl<'de> Deserialize<'de> for RecoveryRecommendation
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 RecoveryRecommendation
impl PartialEq for RecoveryRecommendation
Source§impl Serialize for RecoveryRecommendation
impl Serialize for RecoveryRecommendation
impl StructuralPartialEq for RecoveryRecommendation
Auto Trait Implementations§
impl Forget for RecoveryRecommendation
impl Freeze for RecoveryRecommendation
impl Move for RecoveryRecommendation
impl RefUnwindSafe for RecoveryRecommendation
impl Send for RecoveryRecommendation
impl Sync for RecoveryRecommendation
impl Unpin for RecoveryRecommendation
impl UnsafeUnpin for RecoveryRecommendationwhere
*const LeafNode<String, f64> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, f64)>>: UnsafeUnpin,
impl UnwindSafe for RecoveryRecommendation
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