[][src]Struct sync_test::auth::TestAccount

pub struct TestAccount {
    pub email: String,
    pub pass: String,
    pub cfg: FxaConfig,
    pub no_delete: bool,
    pub session_token: String,
    pub k_sync: Vec<u8>,
    pub xcs: Vec<u8>,
}

Fields

email: Stringpass: Stringcfg: FxaConfigno_delete: boolsession_token: Stringk_sync: Vec<u8>xcs: Vec<u8>

Implementations

impl TestAccount[src]

fn new(
    email: String,
    pass: String,
    cfg: FxaConfig,
    no_delete: bool
) -> Result<Arc<TestAccount>>
[src]

pub fn new_random(opts: &Opts) -> Result<Arc<TestAccount>>[src]

fn verify_account(email_in: &str, config: &FxaConfig, uid: &str) -> Result<()>[src]

pub fn execute_oauth_flow(&self, oauth_url: &str) -> Result<String>[src]

fn execute_oauth_pair_flow(&self, oauth_uri: &str) -> Result<(String, String)>[src]

Trait Implementations

impl Debug for TestAccount[src]

impl Drop for TestAccount[src]

Auto Trait Implementations

impl !RefUnwindSafe for TestAccount

impl Send for TestAccount

impl !Sync for TestAccount

impl Unpin for TestAccount

impl UnwindSafe for TestAccount

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, 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>,