#[non_exhaustive]pub enum CatalogProfile {
Official,
Corrected,
Custom,
}Expand description
Selected source-policy profile.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Official
Unmodified upstream publication data, no correction overlay applied.
Corrected
Official data with the built-in correction overlay’s patches applied.
Custom
Official or corrected data with a caller-supplied overlay applied.
Trait Implementations§
Source§impl Clone for CatalogProfile
impl Clone for CatalogProfile
Source§fn clone(&self) -> CatalogProfile
fn clone(&self) -> CatalogProfile
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 moreimpl Copy for CatalogProfile
Source§impl Debug for CatalogProfile
impl Debug for CatalogProfile
impl Eq for CatalogProfile
Source§impl Hash for CatalogProfile
impl Hash for CatalogProfile
Source§impl PartialEq for CatalogProfile
impl PartialEq for CatalogProfile
impl StructuralPartialEq for CatalogProfile
Auto Trait Implementations§
impl Freeze for CatalogProfile
impl RefUnwindSafe for CatalogProfile
impl Send for CatalogProfile
impl Sync for CatalogProfile
impl Unpin for CatalogProfile
impl UnsafeUnpin for CatalogProfile
impl UnwindSafe for CatalogProfile
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