pub struct SetAccountInfoResponse {
pub display_name: Option<String>,
pub email: Option<String>,
pub email_verified: Option<bool>,
pub expires_in: Option<i64>,
pub id_token: Option<String>,
pub kind: Option<String>,
pub local_id: Option<String>,
pub new_email: Option<String>,
pub password_hash: Option<Vec<u8>>,
pub photo_url: Option<String>,
pub provider_user_info: Option<Vec<SetAccountInfoResponseProviderUserInfo>>,
pub refresh_token: Option<String>,
}Expand description
Respone of setting the account information.
§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).
- set account info relyingparty (response)
Fields§
§display_name: Option<String>The name of the user.
email: Option<String>The email of the user.
email_verified: Option<bool>If email has been verified.
expires_in: Option<i64>If idToken is STS id token, then this field will be expiration time of STS id token in seconds.
id_token: Option<String>The Gitkit id token to login the newly sign up user.
kind: Option<String>The fixed string “identitytoolkit#SetAccountInfoResponse”.
local_id: Option<String>The local ID of the user.
new_email: Option<String>The new email the user attempts to change to.
password_hash: Option<Vec<u8>>The user’s hashed password.
photo_url: Option<String>The photo url of the user.
provider_user_info: Option<Vec<SetAccountInfoResponseProviderUserInfo>>The user’s profiles at the associated IdPs.
refresh_token: Option<String>If idToken is STS id token, then this field will be refresh token.
Trait Implementations§
Source§impl Clone for SetAccountInfoResponse
impl Clone for SetAccountInfoResponse
Source§fn clone(&self) -> SetAccountInfoResponse
fn clone(&self) -> SetAccountInfoResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SetAccountInfoResponse
impl Debug for SetAccountInfoResponse
Source§impl Default for SetAccountInfoResponse
impl Default for SetAccountInfoResponse
Source§fn default() -> SetAccountInfoResponse
fn default() -> SetAccountInfoResponse
Source§impl<'de> Deserialize<'de> for SetAccountInfoResponse
impl<'de> Deserialize<'de> for SetAccountInfoResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for SetAccountInfoResponse
impl Serialize for SetAccountInfoResponse
impl ResponseResult for SetAccountInfoResponse
Auto Trait Implementations§
impl Freeze for SetAccountInfoResponse
impl RefUnwindSafe for SetAccountInfoResponse
impl Send for SetAccountInfoResponse
impl Sync for SetAccountInfoResponse
impl Unpin for SetAccountInfoResponse
impl UnwindSafe for SetAccountInfoResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more