pub struct Outcome {
pub username: Option<String>,
pub password: Option<String>,
pub oauth_refresh_token: Option<String>,
pub quit: bool,
pub next: NextAction,
}
Expand description
The outcome of the credentials helper invocation.
Fields§
§username: Option<String>
The username to use in the identity, if set.
password: Option<String>
The password to use in the identity, if set.
oauth_refresh_token: Option<String>
An OAuth refresh token that may accompany a password. It is to be treated confidentially, just like the password.
quit: bool
If set, the helper asked to stop the entire process, whether the identity is complete or not.
next: NextAction
A handle to the action to perform next in another call to helper::invoke()
.
Implementations§
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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