pub enum ArtifactState {
Draft,
Signed,
Sealed,
}Expand description
Artifact state
Variants§
Draft
V1: Unsigned draft | V2: No author signature
Signed
V1: Signed but not sealed | V2: Author signed but not sealed
Sealed
V1: Sealed (FLAGS bit set) | V2: Dual-signed (author + seal)
Trait Implementations§
Source§impl Clone for ArtifactState
impl Clone for ArtifactState
Source§fn clone(&self) -> ArtifactState
fn clone(&self) -> ArtifactState
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 ArtifactState
Source§impl Debug for ArtifactState
impl Debug for ArtifactState
impl Eq for ArtifactState
Source§impl PartialEq for ArtifactState
impl PartialEq for ArtifactState
Source§fn eq(&self, other: &ArtifactState) -> bool
fn eq(&self, other: &ArtifactState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArtifactState
Auto Trait Implementations§
impl Freeze for ArtifactState
impl RefUnwindSafe for ArtifactState
impl Send for ArtifactState
impl Sync for ArtifactState
impl Unpin for ArtifactState
impl UnsafeUnpin for ArtifactState
impl UnwindSafe for ArtifactState
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