pub struct EmailAndPassword {
pub email: String,
pub password: String,
}
Expand description
Email and password used to authenticate with Xen Orchestra’s API.
Note that there is also the type Token
Fields§
§email: String
§password: String
Trait Implementations§
Source§impl Clone for EmailAndPassword
impl Clone for EmailAndPassword
Source§fn clone(&self) -> EmailAndPassword
fn clone(&self) -> EmailAndPassword
Returns a duplicate 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 EmailAndPassword
impl Debug for EmailAndPassword
Source§impl From<EmailAndPassword> for Credentials
impl From<EmailAndPassword> for Credentials
Source§fn from(val: EmailAndPassword) -> Self
fn from(val: EmailAndPassword) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EmailAndPassword
impl RefUnwindSafe for EmailAndPassword
impl Send for EmailAndPassword
impl Sync for EmailAndPassword
impl Unpin for EmailAndPassword
impl UnwindSafe for EmailAndPassword
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