#[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<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more