pub enum PackagedArtifactGenerationPolicyValidationError {
FieldOutOfSync {
field: &'static str,
},
}Expand description
Validation error for the packaged-artifact generation policy.
Variants§
FieldOutOfSync
A policy field is out of sync with the current packaged-artifact posture.
Implementations§
Source§impl PackagedArtifactGenerationPolicyValidationError
impl PackagedArtifactGenerationPolicyValidationError
Sourcepub fn summary_line(&self) -> String
pub fn summary_line(&self) -> String
Returns the compact release-facing summary for the validation error.
Trait Implementations§
Source§impl Clone for PackagedArtifactGenerationPolicyValidationError
impl Clone for PackagedArtifactGenerationPolicyValidationError
Source§fn clone(&self) -> PackagedArtifactGenerationPolicyValidationError
fn clone(&self) -> PackagedArtifactGenerationPolicyValidationError
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 PackagedArtifactGenerationPolicyValidationError
impl Eq for PackagedArtifactGenerationPolicyValidationError
Source§impl Error for PackagedArtifactGenerationPolicyValidationError
impl Error for PackagedArtifactGenerationPolicyValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for PackagedArtifactGenerationPolicyValidationError
impl PartialEq for PackagedArtifactGenerationPolicyValidationError
Source§fn eq(&self, other: &PackagedArtifactGenerationPolicyValidationError) -> bool
fn eq(&self, other: &PackagedArtifactGenerationPolicyValidationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackagedArtifactGenerationPolicyValidationError
Auto Trait Implementations§
impl Freeze for PackagedArtifactGenerationPolicyValidationError
impl RefUnwindSafe for PackagedArtifactGenerationPolicyValidationError
impl Send for PackagedArtifactGenerationPolicyValidationError
impl Sync for PackagedArtifactGenerationPolicyValidationError
impl Unpin for PackagedArtifactGenerationPolicyValidationError
impl UnsafeUnpin for PackagedArtifactGenerationPolicyValidationError
impl UnwindSafe for PackagedArtifactGenerationPolicyValidationError
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