pub struct PackagedArtifactOutputSupportSummary {
pub profile: ArtifactProfile,
}Expand description
Structured output-support semantics for the packaged artifact profile.
Fields§
§profile: ArtifactProfileCapability profile encoded by the packaged artifact.
Implementations§
Source§impl PackagedArtifactOutputSupportSummary
impl PackagedArtifactOutputSupportSummary
Sourcepub fn validate(&self) -> Result<(), CompressionError>
pub fn validate(&self) -> Result<(), CompressionError>
Validates that the embedded artifact profile is internally consistent and still advertises the packaged artifact’s current built-in output support posture.
Sourcepub fn validated_summary_line(&self) -> Result<String, CompressionError>
pub fn validated_summary_line(&self) -> Result<String, CompressionError>
Returns the validated output-support posture for the packaged artifact profile.
Sourcepub fn summary_line(&self) -> String
pub fn summary_line(&self) -> String
Renders the packaged artifact profile’s output-support semantics.
Trait Implementations§
Source§impl Clone for PackagedArtifactOutputSupportSummary
impl Clone for PackagedArtifactOutputSupportSummary
Source§fn clone(&self) -> PackagedArtifactOutputSupportSummary
fn clone(&self) -> PackagedArtifactOutputSupportSummary
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 Eq for PackagedArtifactOutputSupportSummary
Source§impl PartialEq for PackagedArtifactOutputSupportSummary
impl PartialEq for PackagedArtifactOutputSupportSummary
Source§fn eq(&self, other: &PackagedArtifactOutputSupportSummary) -> bool
fn eq(&self, other: &PackagedArtifactOutputSupportSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackagedArtifactOutputSupportSummary
Auto Trait Implementations§
impl Freeze for PackagedArtifactOutputSupportSummary
impl RefUnwindSafe for PackagedArtifactOutputSupportSummary
impl Send for PackagedArtifactOutputSupportSummary
impl Sync for PackagedArtifactOutputSupportSummary
impl Unpin for PackagedArtifactOutputSupportSummary
impl UnsafeUnpin for PackagedArtifactOutputSupportSummary
impl UnwindSafe for PackagedArtifactOutputSupportSummary
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