#[non_exhaustive]pub struct DeleteStatefileRequest {
pub name: String,
pub lock_id: i64,
/* private fields */
}Expand description
A request to delete a state file passed to a ‘DeleteStatefile’ 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 verify that the user who is deleting the state file previously locked the Deployment.
Implementations§
Trait Implementations§
Source§impl Clone for DeleteStatefileRequest
impl Clone for DeleteStatefileRequest
Source§fn clone(&self) -> DeleteStatefileRequest
fn clone(&self) -> DeleteStatefileRequest
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 DeleteStatefileRequest
impl Debug for DeleteStatefileRequest
Source§impl Default for DeleteStatefileRequest
impl Default for DeleteStatefileRequest
Source§fn default() -> DeleteStatefileRequest
fn default() -> DeleteStatefileRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteStatefileRequest
impl Message for DeleteStatefileRequest
Source§impl PartialEq for DeleteStatefileRequest
impl PartialEq for DeleteStatefileRequest
impl StructuralPartialEq for DeleteStatefileRequest
Auto Trait Implementations§
impl Freeze for DeleteStatefileRequest
impl RefUnwindSafe for DeleteStatefileRequest
impl Send for DeleteStatefileRequest
impl Sync for DeleteStatefileRequest
impl Unpin for DeleteStatefileRequest
impl UnsafeUnpin for DeleteStatefileRequest
impl UnwindSafe for DeleteStatefileRequest
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