Struct google_mybusiness4::api::Admin [−][src]
An administrator of an Account or a Location.
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).
- admins create accounts (request|response)
- admins patch accounts (request|response)
- locations admins create accounts (request|response)
- locations admins patch accounts (request|response)
Fields
admin_name: Option<String>
The name of the admin. When making the initial invitation, this is the
invitee’s email address. On GET
calls, the user’s email address is
returned if the invitation is still pending. Otherwise, it contains
the user’s first and last names.
name: Option<String>
The resource name. For account admins, this is in the form:
accounts/{account_id}/admins/{admin_id}
For location admins, this is in the form:
accounts/{account_id}/locations/{location_id}/admins/{admin_id}
pending_invitation: Option<bool>
Output only. Indicates whether this admin has a pending invitation for the specified resource.
role: Option<String>
Specifies the AdminRole that this admin uses with the specified Account or Location resource.
Trait Implementations
impl Clone for Admin
[src]
impl Debug for Admin
[src]
impl Default for Admin
[src]
impl<'de> Deserialize<'de> for Admin
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for Admin
[src]
impl ResponseResult for Admin
[src]
impl Serialize for Admin
[src]
Auto Trait Implementations
impl RefUnwindSafe for Admin
impl Send for Admin
impl Sync for Admin
impl Unpin for Admin
impl UnwindSafe for Admin
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,