pub enum ReleaseCheck {
Registry,
Trust,
}Expand description
A check release runs before its first write, as release_checks names
it.
Not #[non_exhaustive]: the release proof matches every check, so a new
one fails its build until it runs.
Variants§
Registry
check registry: each crates.io crate exists and lists its owners.
Trust
check trust: each crates.io crate has a trusted publisher naming
the repository and release_workflow.
Implementations§
Trait Implementations§
Source§impl Clone for ReleaseCheck
impl Clone for ReleaseCheck
impl Copy for ReleaseCheck
Source§impl Debug for ReleaseCheck
impl Debug for ReleaseCheck
Source§impl<'de> Deserialize<'de> for ReleaseCheck
impl<'de> Deserialize<'de> for ReleaseCheck
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ReleaseCheck
Source§impl PartialEq for ReleaseCheck
impl PartialEq for ReleaseCheck
Source§impl Serialize for ReleaseCheck
impl Serialize for ReleaseCheck
impl StructuralPartialEq for ReleaseCheck
Source§impl TryFrom<String> for ReleaseCheck
A name outside the set fails here, naming the field and the names it
takes. serde’s own wording names neither, because a parse problem carries
no field path.
impl TryFrom<String> for ReleaseCheck
A name outside the set fails here, naming the field and the names it takes. serde’s own wording names neither, because a parse problem carries no field path.
Auto Trait Implementations§
impl Forget for ReleaseCheck
impl Freeze for ReleaseCheck
impl Move for ReleaseCheck
impl RefUnwindSafe for ReleaseCheck
impl Send for ReleaseCheck
impl Sync for ReleaseCheck
impl Unpin for ReleaseCheck
impl UnsafeUnpin for ReleaseCheck
impl UnwindSafe for ReleaseCheck
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.