pub struct Outcome {
pub username: Option<String>,
pub password: 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.
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)