#[non_exhaustive]pub struct FrameworkDeploymentReference {
pub framework_deployment: String,
pub framework_reference: Option<FrameworkReference>,
pub framework_display_name: String,
/* private fields */
}Expand description
The reference to a framework 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.framework_deployment: StringOutput only. The name of the framework deployment, in the format
organizations/{org}/locations/{location}/frameworkDeployments/{framework_deployment_id}.
The only supported location is global.
framework_reference: Option<FrameworkReference>Optional. The reference to the framework that this deployment is for. For example:
{
framework:
"organizations/{org}/locations/{location}/frameworks/{framework}",
major_revision_id: 1
}The only supported location is global.
framework_display_name: StringOptional. The display name of the framework that this framework deployment is for.
Implementations§
Source§impl FrameworkDeploymentReference
impl FrameworkDeploymentReference
pub fn new() -> Self
Sourcepub fn set_framework_deployment<T: Into<String>>(self, v: T) -> Self
pub fn set_framework_deployment<T: Into<String>>(self, v: T) -> Self
Sets the value of framework_deployment.
§Example
ⓘ
let x = FrameworkDeploymentReference::new().set_framework_deployment("example");Sourcepub fn set_framework_reference<T>(self, v: T) -> Selfwhere
T: Into<FrameworkReference>,
pub fn set_framework_reference<T>(self, v: T) -> Selfwhere
T: Into<FrameworkReference>,
Sets the value of framework_reference.
§Example
ⓘ
use google_cloud_cloudsecuritycompliance_v1::model::FrameworkReference;
let x = FrameworkDeploymentReference::new().set_framework_reference(FrameworkReference::default()/* use setters */);Sourcepub fn set_or_clear_framework_reference<T>(self, v: Option<T>) -> Selfwhere
T: Into<FrameworkReference>,
pub fn set_or_clear_framework_reference<T>(self, v: Option<T>) -> Selfwhere
T: Into<FrameworkReference>,
Sets or clears the value of framework_reference.
§Example
ⓘ
use google_cloud_cloudsecuritycompliance_v1::model::FrameworkReference;
let x = FrameworkDeploymentReference::new().set_or_clear_framework_reference(Some(FrameworkReference::default()/* use setters */));
let x = FrameworkDeploymentReference::new().set_or_clear_framework_reference(None::<FrameworkReference>);Sourcepub fn set_framework_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_framework_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of framework_display_name.
§Example
ⓘ
let x = FrameworkDeploymentReference::new().set_framework_display_name("example");Trait Implementations§
Source§impl Clone for FrameworkDeploymentReference
impl Clone for FrameworkDeploymentReference
Source§fn clone(&self) -> FrameworkDeploymentReference
fn clone(&self) -> FrameworkDeploymentReference
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 FrameworkDeploymentReference
impl Debug for FrameworkDeploymentReference
Source§impl Default for FrameworkDeploymentReference
impl Default for FrameworkDeploymentReference
Source§fn default() -> FrameworkDeploymentReference
fn default() -> FrameworkDeploymentReference
Returns the “default value” for a type. Read more
Source§impl PartialEq for FrameworkDeploymentReference
impl PartialEq for FrameworkDeploymentReference
Source§fn eq(&self, other: &FrameworkDeploymentReference) -> bool
fn eq(&self, other: &FrameworkDeploymentReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FrameworkDeploymentReference
Auto Trait Implementations§
impl Freeze for FrameworkDeploymentReference
impl RefUnwindSafe for FrameworkDeploymentReference
impl Send for FrameworkDeploymentReference
impl Sync for FrameworkDeploymentReference
impl Unpin for FrameworkDeploymentReference
impl UnwindSafe for FrameworkDeploymentReference
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