#[non_exhaustive]pub struct CloudControlDeploymentReference {
pub cloud_control_deployment: String,
/* private fields */
}Expand description
The reference to a cloud control deployment.
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.cloud_control_deployment: StringOutput only. The name of the CloudControlDeployment. The format is
organizations/{org}/locations/{location}/cloudControlDeployments/{cloud_control_deployment_id}.
The only supported location is global.
Implementations§
Source§impl CloudControlDeploymentReference
impl CloudControlDeploymentReference
pub fn new() -> Self
Sourcepub fn set_cloud_control_deployment<T: Into<String>>(self, v: T) -> Self
pub fn set_cloud_control_deployment<T: Into<String>>(self, v: T) -> Self
Sets the value of cloud_control_deployment.
§Example
ⓘ
let x = CloudControlDeploymentReference::new().set_cloud_control_deployment("example");Trait Implementations§
Source§impl Clone for CloudControlDeploymentReference
impl Clone for CloudControlDeploymentReference
Source§fn clone(&self) -> CloudControlDeploymentReference
fn clone(&self) -> CloudControlDeploymentReference
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 CloudControlDeploymentReference
impl Default for CloudControlDeploymentReference
Source§fn default() -> CloudControlDeploymentReference
fn default() -> CloudControlDeploymentReference
Returns the “default value” for a type. Read more
Source§impl PartialEq for CloudControlDeploymentReference
impl PartialEq for CloudControlDeploymentReference
Source§fn eq(&self, other: &CloudControlDeploymentReference) -> bool
fn eq(&self, other: &CloudControlDeploymentReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CloudControlDeploymentReference
Auto Trait Implementations§
impl Freeze for CloudControlDeploymentReference
impl RefUnwindSafe for CloudControlDeploymentReference
impl Send for CloudControlDeploymentReference
impl Sync for CloudControlDeploymentReference
impl Unpin for CloudControlDeploymentReference
impl UnwindSafe for CloudControlDeploymentReference
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