pub struct Member {
pub status: Option<String>,
pub kind: Option<String>,
pub delivery_settings: Option<String>,
pub email: Option<String>,
pub etag: Option<String>,
pub role: Option<String>,
pub type_: Option<String>,
pub id: Option<String>,
}Expand description
JSON template for Member resource in Directory API.
§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).
- patch members (request|response)
- list members (none)
- insert members (request|response)
- get members (response)
- has member members (none)
- delete members (none)
- update members (request|response)
Fields§
§status: Option<String>Status of member (Immutable)
kind: Option<String>Kind of resource this is.
delivery_settings: Option<String>Delivery settings of member
email: Option<String>Email of member (Read-only)
etag: Option<String>ETag of the resource.
role: Option<String>Role of member
type_: Option<String>Type of member (Immutable)
id: Option<String>The unique ID of the group member. A member id can be used as a member request URI’s memberKey. Unique identifier of group (Read-only) Unique identifier of member (Read-only)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Member
impl<'de> Deserialize<'de> for Member
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 RequestValue for Member
impl Resource for Member
impl ResponseResult for Member
Auto Trait Implementations§
impl Freeze for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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> 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