[][src]Struct oceanpkg::auth::Credentials

pub struct Credentials<S = String> {
    pub registry: Option<Registry<S>>,
}

User credentials.

Fields

registry: Option<Registry<S>>

Credentials for the main Ocean registry.

Trait Implementations

impl<S: Clone> Clone for Credentials<S>[src]

impl<S: Debug> Debug for Credentials<S>[src]

impl<'de, S> Deserialize<'de> for Credentials<S> where
    S: Deserialize<'de>, 
[src]

impl<S: Eq> Eq for Credentials<S>[src]

impl<S: Hash> Hash for Credentials<S>[src]

impl<S: PartialEq> PartialEq<Credentials<S>> for Credentials<S>[src]

impl<S> Serialize for Credentials<S> where
    S: Serialize
[src]

impl<S> StructuralEq for Credentials<S>[src]

impl<S> StructuralPartialEq for Credentials<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Credentials<S> where
    S: RefUnwindSafe

impl<S> Send for Credentials<S> where
    S: Send

impl<S> Sync for Credentials<S> where
    S: Sync

impl<S> Unpin for Credentials<S> where
    S: Unpin

impl<S> UnwindSafe for Credentials<S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.