pub struct PackagedFrameTreatmentSummary;Expand description
Structured frame-treatment summary for the packaged artifact.
Implementations§
Source§impl PackagedFrameTreatmentSummary
impl PackagedFrameTreatmentSummary
Sourcepub const fn summary_line(self) -> &'static str
pub const fn summary_line(self) -> &'static str
Returns the frame-treatment posture as a compact human-readable line.
Sourcepub fn validate(
&self,
) -> Result<(), PackagedFrameTreatmentSummaryValidationError>
pub fn validate( &self, ) -> Result<(), PackagedFrameTreatmentSummaryValidationError>
Returns Ok(()) when the summary still contains a compact canonical line.
Sourcepub fn validated_summary_line(
&self,
) -> Result<&'static str, PackagedFrameTreatmentSummaryValidationError>
pub fn validated_summary_line( &self, ) -> Result<&'static str, PackagedFrameTreatmentSummaryValidationError>
Returns the compact one-line rendering after validation.
Trait Implementations§
Source§impl Clone for PackagedFrameTreatmentSummary
impl Clone for PackagedFrameTreatmentSummary
Source§fn clone(&self) -> PackagedFrameTreatmentSummary
fn clone(&self) -> PackagedFrameTreatmentSummary
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 PackagedFrameTreatmentSummary
impl Eq for PackagedFrameTreatmentSummary
Source§impl PartialEq for PackagedFrameTreatmentSummary
impl PartialEq for PackagedFrameTreatmentSummary
Source§fn eq(&self, other: &PackagedFrameTreatmentSummary) -> bool
fn eq(&self, other: &PackagedFrameTreatmentSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackagedFrameTreatmentSummary
Auto Trait Implementations§
impl Freeze for PackagedFrameTreatmentSummary
impl RefUnwindSafe for PackagedFrameTreatmentSummary
impl Send for PackagedFrameTreatmentSummary
impl Sync for PackagedFrameTreatmentSummary
impl Unpin for PackagedFrameTreatmentSummary
impl UnsafeUnpin for PackagedFrameTreatmentSummary
impl UnwindSafe for PackagedFrameTreatmentSummary
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