#[non_exhaustive]pub struct ExportDeploymentStatefileRequest {
pub parent: String,
pub draft: bool,
/* private fields */
}Expand description
A request to export a state file passed to a ‘ExportDeploymentStatefile’ 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.parent: StringRequired. The parent in whose context the statefile is listed. The parent value is in the format: ‘projects/{project_id}/locations/{location}/deployments/{deployment}’.
draft: boolOptional. If this flag is set to true, the exported deployment state file will be the draft state. This will enable the draft file to be validated before copying it over to the working state on unlock.
Implementations§
Source§impl ExportDeploymentStatefileRequest
impl ExportDeploymentStatefileRequest
Trait Implementations§
Source§impl Clone for ExportDeploymentStatefileRequest
impl Clone for ExportDeploymentStatefileRequest
Source§fn clone(&self) -> ExportDeploymentStatefileRequest
fn clone(&self) -> ExportDeploymentStatefileRequest
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 Default for ExportDeploymentStatefileRequest
impl Default for ExportDeploymentStatefileRequest
Source§fn default() -> ExportDeploymentStatefileRequest
fn default() -> ExportDeploymentStatefileRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExportDeploymentStatefileRequest
impl PartialEq for ExportDeploymentStatefileRequest
Source§fn eq(&self, other: &ExportDeploymentStatefileRequest) -> bool
fn eq(&self, other: &ExportDeploymentStatefileRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExportDeploymentStatefileRequest
Auto Trait Implementations§
impl Freeze for ExportDeploymentStatefileRequest
impl RefUnwindSafe for ExportDeploymentStatefileRequest
impl Send for ExportDeploymentStatefileRequest
impl Sync for ExportDeploymentStatefileRequest
impl Unpin for ExportDeploymentStatefileRequest
impl UnsafeUnpin for ExportDeploymentStatefileRequest
impl UnwindSafe for ExportDeploymentStatefileRequest
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