pub struct CatalogConfig {
pub preferred_vendor_flag_rate: f64,
pub multi_source_rate: f64,
}Expand description
Catalog configuration.
Fields§
§preferred_vendor_flag_rate: f64Percentage of catalog items marked as preferred
multi_source_rate: f64Rate of materials with multiple sources in catalog
Trait Implementations§
Source§impl Clone for CatalogConfig
impl Clone for CatalogConfig
Source§fn clone(&self) -> CatalogConfig
fn clone(&self) -> CatalogConfig
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 CatalogConfig
impl Debug for CatalogConfig
Source§impl Default for CatalogConfig
impl Default for CatalogConfig
Source§impl<'de> Deserialize<'de> for CatalogConfig
impl<'de> Deserialize<'de> for CatalogConfig
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 CatalogConfig
impl RefUnwindSafe for CatalogConfig
impl Send for CatalogConfig
impl Sync for CatalogConfig
impl Unpin for CatalogConfig
impl UnsafeUnpin for CatalogConfig
impl UnwindSafe for CatalogConfig
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