pub struct PrimarySource { /* private fields */ }Expand description
One primary source retained by an immutable profile record.
Implementations§
Source§impl PrimarySource
impl PrimarySource
Sourcepub const fn target_version(&self) -> &'static str
pub const fn target_version(&self) -> &'static str
Version of the source’s target product/specification.
Sourcepub const fn verified_on(&self) -> &'static str
pub const fn verified_on(&self) -> &'static str
ISO date on which this source was verified.
Sourcepub fn supported_facts(&self) -> &[FactId]
pub fn supported_facts(&self) -> &[FactId]
Stable fact ids supported by the source.
Sourcepub fn supported_settings(&self) -> &[SettingId]
pub fn supported_settings(&self) -> &[SettingId]
Stable setting ids supported by the source.
Trait Implementations§
Source§impl Clone for PrimarySource
impl Clone for PrimarySource
Source§fn clone(&self) -> PrimarySource
fn clone(&self) -> PrimarySource
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 PrimarySource
impl Debug for PrimarySource
impl Eq for PrimarySource
Source§impl Ord for PrimarySource
impl Ord for PrimarySource
Source§fn cmp(&self, other: &PrimarySource) -> Ordering
fn cmp(&self, other: &PrimarySource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PrimarySource
impl PartialEq for PrimarySource
Source§impl PartialOrd for PrimarySource
impl PartialOrd for PrimarySource
impl StructuralPartialEq for PrimarySource
Auto Trait Implementations§
impl Freeze for PrimarySource
impl RefUnwindSafe for PrimarySource
impl Send for PrimarySource
impl Sync for PrimarySource
impl Unpin for PrimarySource
impl UnsafeUnpin for PrimarySource
impl UnwindSafe for PrimarySource
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