#[non_exhaustive]pub struct LockDeploymentRequest {
pub name: String,
/* private fields */
}Expand description
A request to lock a deployment passed to a ‘LockDeployment’ call.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The name of the deployment in the format: ‘projects/{project_id}/locations/{location}/deployments/{deployment}’.
Implementations§
Trait Implementations§
Source§impl Clone for LockDeploymentRequest
impl Clone for LockDeploymentRequest
Source§fn clone(&self) -> LockDeploymentRequest
fn clone(&self) -> LockDeploymentRequest
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 LockDeploymentRequest
impl Debug for LockDeploymentRequest
Source§impl Default for LockDeploymentRequest
impl Default for LockDeploymentRequest
Source§fn default() -> LockDeploymentRequest
fn default() -> LockDeploymentRequest
Returns the “default value” for a type. Read more
Source§impl Message for LockDeploymentRequest
impl Message for LockDeploymentRequest
Source§impl PartialEq for LockDeploymentRequest
impl PartialEq for LockDeploymentRequest
impl StructuralPartialEq for LockDeploymentRequest
Auto Trait Implementations§
impl Freeze for LockDeploymentRequest
impl RefUnwindSafe for LockDeploymentRequest
impl Send for LockDeploymentRequest
impl Sync for LockDeploymentRequest
impl Unpin for LockDeploymentRequest
impl UnsafeUnpin for LockDeploymentRequest
impl UnwindSafe for LockDeploymentRequest
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