pub enum RevokedEntry {
Package {
manifest_hash: String,
reason: String,
revoked_at: DateTime<Utc>,
},
Author {
pubkey: String,
reason: String,
revoked_at: DateTime<Utc>,
},
}Expand description
A single revoked item — either a specific package or an entire author.
Variants§
Trait Implementations§
Source§impl Clone for RevokedEntry
impl Clone for RevokedEntry
Source§fn clone(&self) -> RevokedEntry
fn clone(&self) -> RevokedEntry
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 moreSource§impl Debug for RevokedEntry
impl Debug for RevokedEntry
Source§impl<'de> Deserialize<'de> for RevokedEntry
impl<'de> Deserialize<'de> for RevokedEntry
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
Source§impl PartialEq for RevokedEntry
impl PartialEq for RevokedEntry
Source§fn eq(&self, other: &RevokedEntry) -> bool
fn eq(&self, other: &RevokedEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RevokedEntry
impl Serialize for RevokedEntry
impl StructuralPartialEq for RevokedEntry
Auto Trait Implementations§
impl Freeze for RevokedEntry
impl RefUnwindSafe for RevokedEntry
impl Send for RevokedEntry
impl Sync for RevokedEntry
impl Unpin for RevokedEntry
impl UnsafeUnpin for RevokedEntry
impl UnwindSafe for RevokedEntry
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