#[non_exhaustive]pub struct UnlockDeploymentRequest {
pub name: String,
pub lock_id: i64,
/* private fields */
}Expand description
A request to unlock a state file passed to a ‘UnlockDeployment’ 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}’.
lock_id: i64Required. Lock ID of the lock file to be unlocked.
Implementations§
Trait Implementations§
Source§impl Clone for UnlockDeploymentRequest
impl Clone for UnlockDeploymentRequest
Source§fn clone(&self) -> UnlockDeploymentRequest
fn clone(&self) -> UnlockDeploymentRequest
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 UnlockDeploymentRequest
impl Debug for UnlockDeploymentRequest
Source§impl Default for UnlockDeploymentRequest
impl Default for UnlockDeploymentRequest
Source§fn default() -> UnlockDeploymentRequest
fn default() -> UnlockDeploymentRequest
Returns the “default value” for a type. Read more
Source§impl Message for UnlockDeploymentRequest
impl Message for UnlockDeploymentRequest
Source§impl PartialEq for UnlockDeploymentRequest
impl PartialEq for UnlockDeploymentRequest
impl StructuralPartialEq for UnlockDeploymentRequest
Auto Trait Implementations§
impl Freeze for UnlockDeploymentRequest
impl RefUnwindSafe for UnlockDeploymentRequest
impl Send for UnlockDeploymentRequest
impl Sync for UnlockDeploymentRequest
impl Unpin for UnlockDeploymentRequest
impl UnsafeUnpin for UnlockDeploymentRequest
impl UnwindSafe for UnlockDeploymentRequest
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