pub struct PrimarySourceV2 { /* private fields */ }Expand description
Primary source retained by an immutable revision-2 profile record.
Implementations§
Source§impl PrimarySourceV2
impl PrimarySourceV2
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 the source was verified.
Sourcepub fn supports_accepted_inputs(&self) -> bool
pub fn supports_accepted_inputs(&self) -> bool
Whether this source establishes the accepted input containers.
Sourcepub fn supported_facts(&self) -> &[EngineFactIdV2]
pub fn supported_facts(&self) -> &[EngineFactIdV2]
Stable fact ids supported by this source.
Sourcepub fn supported_settings(&self) -> &[SettingIdV2]
pub fn supported_settings(&self) -> &[SettingIdV2]
Stable setting ids supported by this source.
Trait Implementations§
Source§impl Clone for PrimarySourceV2
impl Clone for PrimarySourceV2
Source§fn clone(&self) -> PrimarySourceV2
fn clone(&self) -> PrimarySourceV2
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 PrimarySourceV2
impl Debug for PrimarySourceV2
impl Eq for PrimarySourceV2
Source§impl Ord for PrimarySourceV2
impl Ord for PrimarySourceV2
Source§fn cmp(&self, other: &PrimarySourceV2) -> Ordering
fn cmp(&self, other: &PrimarySourceV2) -> 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 PrimarySourceV2
impl PartialEq for PrimarySourceV2
Source§impl PartialOrd for PrimarySourceV2
impl PartialOrd for PrimarySourceV2
impl StructuralPartialEq for PrimarySourceV2
Auto Trait Implementations§
impl Freeze for PrimarySourceV2
impl RefUnwindSafe for PrimarySourceV2
impl Send for PrimarySourceV2
impl Sync for PrimarySourceV2
impl Unpin for PrimarySourceV2
impl UnsafeUnpin for PrimarySourceV2
impl UnwindSafe for PrimarySourceV2
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