Struct google_mybusiness4::api::Invitation
source · pub struct Invitation {
pub name: Option<String>,
pub role: Option<String>,
pub target_account: Option<Account>,
pub target_location: Option<TargetLocation>,
}
Expand description
Output only. Represents a pending invitation.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>
The resource name for the invitation.
role: Option<String>
The invited role on the account.
target_account: Option<Account>
The sparsely populated account this invitation is for.
target_location: Option<TargetLocation>
The target location this invitation is for.
Trait Implementations§
source§impl Clone for Invitation
impl Clone for Invitation
source§fn clone(&self) -> Invitation
fn clone(&self) -> Invitation
Returns a copy 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 Debug for Invitation
impl Debug for Invitation
source§impl Default for Invitation
impl Default for Invitation
source§fn default() -> Invitation
fn default() -> Invitation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Invitation
impl<'de> Deserialize<'de> for Invitation
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
source§impl Serialize for Invitation
impl Serialize for Invitation
impl Part for Invitation
Auto Trait Implementations§
impl RefUnwindSafe for Invitation
impl Send for Invitation
impl Sync for Invitation
impl Unpin for Invitation
impl UnwindSafe for Invitation
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