pub enum Credential {
Token(String),
Basic {
username: String,
password: String,
},
}Expand description
How the wire authenticates. The account’s clients use a token; monetize’s plugin can also be configured with a sub-account’s username and password.
Variants§
Trait Implementations§
Source§impl Clone for Credential
impl Clone for Credential
Auto Trait Implementations§
impl Freeze for Credential
impl RefUnwindSafe for Credential
impl Send for Credential
impl Sync for Credential
impl Unpin for Credential
impl UnsafeUnpin for Credential
impl UnwindSafe for Credential
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