pub struct ProfileSource { /* private fields */ }Expand description
Provenance for the exported model bundle used as the parity reference.
Implementations§
Source§impl ProfileSource
impl ProfileSource
Sourcepub fn new(
profile_id: impl Into<String>,
repository: impl Into<String>,
repository_revision: impl Into<String>,
bundle_sha256: impl Into<String>,
) -> Result<Self, ProfileValidationError>
pub fn new( profile_id: impl Into<String>, repository: impl Into<String>, repository_revision: impl Into<String>, bundle_sha256: impl Into<String>, ) -> Result<Self, ProfileValidationError>
Construct pinned reference-bundle provenance.
Sourcepub fn profile_id(&self) -> &str
pub fn profile_id(&self) -> &str
Immutable model/execution profile ID.
Sourcepub fn repository(&self) -> &str
pub fn repository(&self) -> &str
Repository containing the exported reference bundle.
Sourcepub fn repository_revision(&self) -> &str
pub fn repository_revision(&self) -> &str
Immutable repository revision from which fixtures were taken.
Sourcepub fn bundle_sha256(&self) -> &str
pub fn bundle_sha256(&self) -> &str
SHA-256 of the selected exported reference-bundle archive.
Trait Implementations§
Source§impl Clone for ProfileSource
impl Clone for ProfileSource
Source§impl Debug for ProfileSource
impl Debug for ProfileSource
impl Eq for ProfileSource
Source§impl PartialEq for ProfileSource
impl PartialEq for ProfileSource
impl StructuralPartialEq for ProfileSource
Auto Trait Implementations§
impl Freeze for ProfileSource
impl RefUnwindSafe for ProfileSource
impl Send for ProfileSource
impl Sync for ProfileSource
impl Unpin for ProfileSource
impl UnsafeUnpin for ProfileSource
impl UnwindSafe for ProfileSource
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