#[non_exhaustive]pub struct GetDeployPolicyRequest {
pub name: String,
/* private fields */
}
Expand description
The request object for GetDeployPolicy
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: String
Required. Name of the DeployPolicy
. Format must be
projects/{project_id}/locations/{location_name}/deployPolicies/{deploy_policy_name}
.
Implementations§
Trait Implementations§
Source§impl Clone for GetDeployPolicyRequest
impl Clone for GetDeployPolicyRequest
Source§fn clone(&self) -> GetDeployPolicyRequest
fn clone(&self) -> GetDeployPolicyRequest
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 GetDeployPolicyRequest
impl Debug for GetDeployPolicyRequest
Source§impl Default for GetDeployPolicyRequest
impl Default for GetDeployPolicyRequest
Source§fn default() -> GetDeployPolicyRequest
fn default() -> GetDeployPolicyRequest
Returns the “default value” for a type. Read more
Source§impl Message for GetDeployPolicyRequest
impl Message for GetDeployPolicyRequest
Source§impl PartialEq for GetDeployPolicyRequest
impl PartialEq for GetDeployPolicyRequest
impl StructuralPartialEq for GetDeployPolicyRequest
Auto Trait Implementations§
impl Freeze for GetDeployPolicyRequest
impl RefUnwindSafe for GetDeployPolicyRequest
impl Send for GetDeployPolicyRequest
impl Sync for GetDeployPolicyRequest
impl Unpin for GetDeployPolicyRequest
impl UnwindSafe for GetDeployPolicyRequest
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