pub enum RegistryAnswer {
CratesIo,
None,
}Expand description
Where an automatic rust release publishes: the answer of
profile.release.registry. An absent answer reads as crates.io, so a
target that never answered keeps its behavior and its record.
SATISFIES project-profile:release-intent-has-three-modes
Variants§
CratesIo
The crate publishes to crates.io.
None
The crate publishes to no registry: release-plz reads the last release from the tags, and the release page is the publication.
Implementations§
Trait Implementations§
Source§impl Clone for RegistryAnswer
impl Clone for RegistryAnswer
impl Copy for RegistryAnswer
Source§impl Debug for RegistryAnswer
impl Debug for RegistryAnswer
Source§impl<'de> Deserialize<'de> for RegistryAnswer
impl<'de> Deserialize<'de> for RegistryAnswer
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 RegistryAnswer
Source§impl PartialEq for RegistryAnswer
impl PartialEq for RegistryAnswer
Source§impl Serialize for RegistryAnswer
impl Serialize for RegistryAnswer
impl StructuralPartialEq for RegistryAnswer
Auto Trait Implementations§
impl Forget for RegistryAnswer
impl Freeze for RegistryAnswer
impl Move for RegistryAnswer
impl RefUnwindSafe for RegistryAnswer
impl Send for RegistryAnswer
impl Sync for RegistryAnswer
impl Unpin for RegistryAnswer
impl UnsafeUnpin for RegistryAnswer
impl UnwindSafe for RegistryAnswer
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.