[][src]Struct sync_test::Opts

pub struct Opts {
    pub oauth_retries: u64,
    pub oauth_delay_time: u64,
    pub oauth_retry_backoff: u64,
    pub fxa_stack: FxaConfigUrl,
    pub force_username: Option<String>,
    pub no_delete_account: bool,
    pub helper_debug: bool,
    pub groups: Vec<String>,
}

Fields

oauth_retries: u64

Number of times to retry authentication with FxA if automatically logging in with OAuth fails (Sadly, it seems inherently finnicky).

oauth_delay_time: u64

Number of milliseconds to wait between retries. Does nothing if oauth-retries is 0.

oauth_retry_backoff: u64

Number of milliseconds to increase oauth-retry-delay with after each failure. Does nothing if oauth-retries is 0.

fxa_stack: FxaConfigUrl

Either 'release', 'stage', 'stable-dev', or a URL.

force_username: Option<String>

Force the username portion of the restmail email. Must be a valid username, note that the username is also used for the password. See also --no-delete-account, which is useful in combination with this.

no_delete_account: bool

Disable deleting the fx account after use. Incompatible with oauth-retries.

helper_debug: bool

Run the helper browser as non-headless, and enable extra logging

groups: Vec<String>

Trait Implementations

impl Clone for Opts[src]

impl Debug for Opts[src]

impl StructOpt for Opts[src]

impl StructOptInternal for Opts[src]

Auto Trait Implementations

impl RefUnwindSafe for Opts

impl Send for Opts

impl Sync for Opts

impl Unpin for Opts

impl UnwindSafe for Opts

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,