Struct gapi_grpc::google::streetview::publish::v1::UpdatePhotoRequest[][src]

pub struct UpdatePhotoRequest {
    pub photo: Option<Photo>,
    pub update_mask: Option<FieldMask>,
}

Request to update the metadata of a [Photo][google.streetview.publish.v1.Photo]. Updating the pixels of a photo is not supported.

Fields

photo: Option<Photo>

Required. [Photo][google.streetview.publish.v1.Photo] object containing the new metadata.

update_mask: Option<FieldMask>

Mask that identifies fields on the photo metadata to update. If not present, the old [Photo][google.streetview.publish.v1.Photo] metadata is entirely replaced with the new [Photo][google.streetview.publish.v1.Photo] metadata in this request. The update fails if invalid fields are specified. Multiple fields can be specified in a comma-delimited list.

The following fields are valid:

Trait Implementations

impl Clone for UpdatePhotoRequest[src]

impl Debug for UpdatePhotoRequest[src]

impl Default for UpdatePhotoRequest[src]

impl Message for UpdatePhotoRequest[src]

impl PartialEq<UpdatePhotoRequest> for UpdatePhotoRequest[src]

impl StructuralPartialEq for UpdatePhotoRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdatePhotoRequest

impl Send for UpdatePhotoRequest

impl Sync for UpdatePhotoRequest

impl Unpin for UpdatePhotoRequest

impl UnwindSafe for UpdatePhotoRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]