pub struct PluginRevocation {
pub package: &'static str,
pub version: &'static str,
}Expand description
A withdrawn package version, matched exactly by package and version. 已撤销的包版本,按包名与版本精确匹配。
Fields§
§package: &'static strPackage name being withdrawn. 被撤销的包名。
version: &'static strVersion being withdrawn. 被撤销的版本。
Trait Implementations§
Source§impl Clone for PluginRevocation
impl Clone for PluginRevocation
Source§fn clone(&self) -> PluginRevocation
fn clone(&self) -> PluginRevocation
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 PluginRevocation
Source§impl Debug for PluginRevocation
impl Debug for PluginRevocation
impl Eq for PluginRevocation
Source§impl PartialEq for PluginRevocation
impl PartialEq for PluginRevocation
impl StructuralPartialEq for PluginRevocation
Auto Trait Implementations§
impl Freeze for PluginRevocation
impl RefUnwindSafe for PluginRevocation
impl Send for PluginRevocation
impl Sync for PluginRevocation
impl Unpin for PluginRevocation
impl UnsafeUnpin for PluginRevocation
impl UnwindSafe for PluginRevocation
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