pub enum RegistryAuthTypeSchema {
Basic,
Token,
}Expand description
Authentication method for a registry credential (OpenAPI schema).
Variants§
Trait Implementations§
Source§impl Clone for RegistryAuthTypeSchema
impl Clone for RegistryAuthTypeSchema
Source§fn clone(&self) -> RegistryAuthTypeSchema
fn clone(&self) -> RegistryAuthTypeSchema
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 ComposeSchema for RegistryAuthTypeSchema
impl ComposeSchema for RegistryAuthTypeSchema
Source§impl Debug for RegistryAuthTypeSchema
impl Debug for RegistryAuthTypeSchema
Source§impl<'de> Deserialize<'de> for RegistryAuthTypeSchema
impl<'de> Deserialize<'de> for RegistryAuthTypeSchema
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 RegistryAuthTypeSchema
impl PartialEq for RegistryAuthTypeSchema
Source§fn eq(&self, other: &RegistryAuthTypeSchema) -> bool
fn eq(&self, other: &RegistryAuthTypeSchema) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegistryAuthTypeSchema
impl Serialize for RegistryAuthTypeSchema
Source§impl ToSchema for RegistryAuthTypeSchema
impl ToSchema for RegistryAuthTypeSchema
impl Copy for RegistryAuthTypeSchema
impl Eq for RegistryAuthTypeSchema
impl StructuralPartialEq for RegistryAuthTypeSchema
Auto Trait Implementations§
impl Freeze for RegistryAuthTypeSchema
impl RefUnwindSafe for RegistryAuthTypeSchema
impl Send for RegistryAuthTypeSchema
impl Sync for RegistryAuthTypeSchema
impl Unpin for RegistryAuthTypeSchema
impl UnsafeUnpin for RegistryAuthTypeSchema
impl UnwindSafe for RegistryAuthTypeSchema
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.