pub struct PathScoringFactor {
pub factor_type: PathFactorType,
pub weight: f32,
}Expand description
Factors for path scoring
Fields§
§factor_type: PathFactorTypeFactor type
weight: f32Weight of this factor
Trait Implementations§
Source§impl Clone for PathScoringFactor
impl Clone for PathScoringFactor
Source§fn clone(&self) -> PathScoringFactor
fn clone(&self) -> PathScoringFactor
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 PathScoringFactor
impl Debug for PathScoringFactor
Source§impl<'de> Deserialize<'de> for PathScoringFactor
impl<'de> Deserialize<'de> for PathScoringFactor
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 PathScoringFactor
impl RefUnwindSafe for PathScoringFactor
impl Send for PathScoringFactor
impl Sync for PathScoringFactor
impl Unpin for PathScoringFactor
impl UnwindSafe for PathScoringFactor
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