pub struct UpdateSnapshotRequest {
pub snapshot: Option<Snapshot>,
pub update_mask: Option<FieldMask>,
}Expand description
Request for the UpdateSnapshot method.
§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).
- snapshots patch projects (request)
Fields§
§snapshot: Option<Snapshot>Required. The updated snapshot object.
update_mask: Option<FieldMask>Required. Indicates which fields in the provided snapshot to update. Must be specified and non-empty.
Trait Implementations§
Source§impl Clone for UpdateSnapshotRequest
impl Clone for UpdateSnapshotRequest
Source§fn clone(&self) -> UpdateSnapshotRequest
fn clone(&self) -> UpdateSnapshotRequest
Returns a duplicate 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 UpdateSnapshotRequest
impl Debug for UpdateSnapshotRequest
Source§impl Default for UpdateSnapshotRequest
impl Default for UpdateSnapshotRequest
Source§fn default() -> UpdateSnapshotRequest
fn default() -> UpdateSnapshotRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSnapshotRequest
impl<'de> Deserialize<'de> for UpdateSnapshotRequest
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 UpdateSnapshotRequest
impl Serialize for UpdateSnapshotRequest
impl RequestValue for UpdateSnapshotRequest
Auto Trait Implementations§
impl Freeze for UpdateSnapshotRequest
impl RefUnwindSafe for UpdateSnapshotRequest
impl Send for UpdateSnapshotRequest
impl Sync for UpdateSnapshotRequest
impl Unpin for UpdateSnapshotRequest
impl UnwindSafe for UpdateSnapshotRequest
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