pub struct FactorRecommendation {
pub suitable_factors: Vec<FactorId>,
pub recommended_factor: Option<FactorId>,
pub unsuitable_factors: Vec<(FactorId, String)>,
pub warnings: Vec<String>,
pub upgrade_recommendations: Vec<String>,
}Expand description
Factor selection recommendation
Fields§
§suitable_factors: Vec<FactorId>Available factors that meet requirements
recommended_factor: Option<FactorId>Recommended primary factor
unsuitable_factors: Vec<(FactorId, String)>Factors that don’t meet requirements
warnings: Vec<String>Security warnings for selected factors
upgrade_recommendations: Vec<String>Factor upgrade recommendations
Trait Implementations§
Source§impl Clone for FactorRecommendation
impl Clone for FactorRecommendation
Source§fn clone(&self) -> FactorRecommendation
fn clone(&self) -> FactorRecommendation
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 FactorRecommendation
impl Debug for FactorRecommendation
Source§impl<'de> Deserialize<'de> for FactorRecommendation
impl<'de> Deserialize<'de> for FactorRecommendation
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 FactorRecommendation
impl RefUnwindSafe for FactorRecommendation
impl Send for FactorRecommendation
impl Sync for FactorRecommendation
impl Unpin for FactorRecommendation
impl UnsafeUnpin for FactorRecommendation
impl UnwindSafe for FactorRecommendation
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