Enum xo_api_client::credentials::Credentials [−][src]
pub enum Credentials {
Password(EmailAndPassword),
Token(Token),
}Expand description
Some type of credentials used to authenticate with Xen Orchestra’s API.
A value of this type may ether contain a Token or an EmailAndPassword
Variants
Password(EmailAndPassword)Token(Token)Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for Credentialsimpl Send for Credentialsimpl Sync for Credentialsimpl Unpin for Credentialsimpl UnwindSafe for Credentials