#[non_exhaustive]pub enum UploadPackageStatus {
Default,
Hidden,
}
Expand description
The package status.
It can be default (default) or hidden. Hidden packages do not appear in the UI or package API list endpoints.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl Clone for UploadPackageStatus
impl Clone for UploadPackageStatus
source§fn clone(&self) -> UploadPackageStatus
fn clone(&self) -> UploadPackageStatus
Returns a copy of the value. Read more
1.0.0 · 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 UploadPackageStatus
impl Debug for UploadPackageStatus
source§impl Default for UploadPackageStatus
impl Default for UploadPackageStatus
source§impl ParamValue<'static> for UploadPackageStatus
impl ParamValue<'static> for UploadPackageStatus
source§impl PartialEq for UploadPackageStatus
impl PartialEq for UploadPackageStatus
source§fn eq(&self, other: &UploadPackageStatus) -> bool
fn eq(&self, other: &UploadPackageStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UploadPackageStatus
impl Eq for UploadPackageStatus
impl StructuralPartialEq for UploadPackageStatus
Auto Trait Implementations§
impl Freeze for UploadPackageStatus
impl RefUnwindSafe for UploadPackageStatus
impl Send for UploadPackageStatus
impl Sync for UploadPackageStatus
impl Unpin for UploadPackageStatus
impl UnwindSafe for UploadPackageStatus
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<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.