pub struct HarnessAuthenticationMethod {
pub id: HarnessAuthenticationMethodId,
pub label: &'static str,
pub description: &'static str,
pub interaction: HarnessAuthenticationInteraction,
pub browser_behavior: HarnessBrowserBehavior,
pub headless: bool,
pub recommended: bool,
}Expand description
One verified native authentication mechanism supported by a harness.
Fields§
§id: HarnessAuthenticationMethodIdStable mechanism identifier.
label: &'static strShort user-facing label.
description: &'static strUser-facing explanation of the native flow.
interaction: HarnessAuthenticationInteractionInteraction the host must present.
browser_behavior: HarnessBrowserBehaviorBrowser-opening behavior owned by the native CLI.
headless: boolWhether the method is verified for machines without a local browser.
recommended: boolWhether local interactive hosts should prefer this method.
Trait Implementations§
Source§impl Clone for HarnessAuthenticationMethod
impl Clone for HarnessAuthenticationMethod
Source§fn clone(&self) -> HarnessAuthenticationMethod
fn clone(&self) -> HarnessAuthenticationMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HarnessAuthenticationMethod
impl Debug for HarnessAuthenticationMethod
impl Eq for HarnessAuthenticationMethod
impl StructuralPartialEq for HarnessAuthenticationMethod
Auto Trait Implementations§
impl Freeze for HarnessAuthenticationMethod
impl RefUnwindSafe for HarnessAuthenticationMethod
impl Send for HarnessAuthenticationMethod
impl Sync for HarnessAuthenticationMethod
impl Unpin for HarnessAuthenticationMethod
impl UnsafeUnpin for HarnessAuthenticationMethod
impl UnwindSafe for HarnessAuthenticationMethod
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.