pub struct RetiredArtifact {
pub id: RegistryId,
pub why: Prose,
}Expand description
Something this repository once published and does not publish again.
Recorded rather than deleted, because a consumer that still names it needs to be told it is gone rather than told nothing.
Fields§
§id: RegistryIdThe identifier that is no longer published.
why: ProseWhy it is not published any more, and what replaced it if anything did.
Trait Implementations§
Source§impl Clone for RetiredArtifact
impl Clone for RetiredArtifact
Source§impl Debug for RetiredArtifact
impl Debug for RetiredArtifact
Source§impl<'de> Deserialize<'de> for RetiredArtifact
impl<'de> Deserialize<'de> for RetiredArtifact
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 RetiredArtifact
Source§impl PartialEq for RetiredArtifact
impl PartialEq for RetiredArtifact
Source§impl Serialize for RetiredArtifact
impl Serialize for RetiredArtifact
impl StructuralPartialEq for RetiredArtifact
Auto Trait Implementations§
impl Freeze for RetiredArtifact
impl RefUnwindSafe for RetiredArtifact
impl Send for RetiredArtifact
impl Sync for RetiredArtifact
impl Unpin for RetiredArtifact
impl UnsafeUnpin for RetiredArtifact
impl UnwindSafe for RetiredArtifact
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.