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)Tuple Fields of Password
Token(Token)Tuple Fields of Token
0: TokenTrait Implementations
Performs the conversion.
Performs the conversion.