pub struct Relyingparty {
Show 15 fields pub android_install_app: Option<bool>, pub android_minimum_version: Option<String>, pub android_package_name: Option<String>, pub can_handle_code_in_app: Option<bool>, pub captcha_resp: Option<String>, pub challenge: Option<String>, pub continue_url: Option<String>, pub email: Option<String>, pub i_os_app_store_id: Option<String>, pub i_os_bundle_id: Option<String>, pub id_token: Option<String>, pub kind: Option<String>, pub new_email: Option<String>, pub request_type: Option<String>, pub user_ip: Option<String>,
}
Expand description

Request of getting a code for user confirmation (reset password, change email etc.)

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields§

§android_install_app: Option<bool>

whether or not to install the android app on the device where the link is opened

§android_minimum_version: Option<String>

minimum version of the app. if the version on the device is lower than this version then the user is taken to the play store to upgrade the app

§android_package_name: Option<String>

android package name of the android app to handle the action code

§can_handle_code_in_app: Option<bool>

whether or not the app can handle the oob code without first going to web

§captcha_resp: Option<String>

The recaptcha response from the user.

§challenge: Option<String>

The recaptcha challenge presented to the user.

§continue_url: Option<String>

The url to continue to the Gitkit app

§email: Option<String>

The email of the user.

§i_os_app_store_id: Option<String>

iOS app store id to download the app if it’s not already installed

§i_os_bundle_id: Option<String>

the iOS bundle id of iOS app to handle the action code

§id_token: Option<String>

The user’s Gitkit login token for email change.

§kind: Option<String>

The fixed string “identitytoolkit#relyingparty”.

§new_email: Option<String>

The new email if the code is for email change.

§request_type: Option<String>

The request type.

§user_ip: Option<String>

The IP address of the user.

Trait Implementations§

source§

impl Clone for Relyingparty

source§

fn clone(&self) -> Relyingparty

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Relyingparty

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Relyingparty

source§

fn default() -> Relyingparty

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Relyingparty

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for Relyingparty

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl RequestValue for Relyingparty

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,