pub struct GoogleAnalyticsAdminV1alphaCreateUserLinkRequest {
pub notify_new_user: Option<bool>,
pub parent: Option<String>,
pub user_link: Option<GoogleAnalyticsAdminV1alphaUserLink>,
}
Expand description
Request message for CreateUserLink RPC. Users can have multiple email addresses associated with their Google account, and one of these email addresses is the “primary” email address. Any of the email addresses associated with a Google account may be used for a new UserLink, but the returned UserLink will always contain the “primary” email address. As a result, the input and output email address for this request may differ.
This type is not used in any activity, and only used as part of another schema.
Fields§
§notify_new_user: Option<bool>
Optional. If set, then email the new user notifying them that they’ve been granted permissions to the resource.
parent: Option<String>
Required. Example format: accounts/1234
user_link: Option<GoogleAnalyticsAdminV1alphaUserLink>
Required. The user link to create.
Trait Implementations§
Source§impl Clone for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
impl Clone for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
Source§fn clone(&self) -> GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
fn clone(&self) -> GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
impl Default for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
Source§fn default() -> GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
fn default() -> GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
impl<'de> Deserialize<'de> for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
Auto Trait Implementations§
impl Freeze for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
impl RefUnwindSafe for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
impl Send for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
impl Sync for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
impl Unpin for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
impl UnwindSafe for GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
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
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>
Converts
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>
Converts
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