Struct google_people1::api::UpdateContactPhotoRequest [−][src]
pub struct UpdateContactPhotoRequest {
pub person_fields: Option<String>,
pub photo_bytes: Option<String>,
pub sources: Option<Vec<String>>,
}
Expand description
A request to update an existing contact’s photo. All requests must have a valid photo format: JPEG or PNG.
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).
- update contact photo people (request)
Fields
person_fields: Option<String>
Optional. A field mask to restrict which fields on the person are returned. Multiple fields can be specified by separating them with commas. Defaults to empty if not set, which will skip the post mutate get. Valid values are: * addresses * ageRanges * biographies * birthdays * calendarUrls * clientData * coverPhotos * emailAddresses * events * externalIds * genders * imClients * interests * locales * locations * memberships * metadata * miscKeywords * names * nicknames * occupations * organizations * phoneNumbers * photos * relations * sipAddresses * skills * urls * userDefined
photo_bytes: Option<String>
Required. Raw photo bytes
sources: Option<Vec<String>>
Optional. A mask of what source types to return. Defaults to READ_SOURCE_TYPE_CONTACT and READ_SOURCE_TYPE_PROFILE if not set.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for UpdateContactPhotoRequest
impl Send for UpdateContactPhotoRequest
impl Sync for UpdateContactPhotoRequest
impl Unpin for UpdateContactPhotoRequest
impl UnwindSafe for UpdateContactPhotoRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more