#[non_exhaustive]pub struct CreateFrameworkRequest {
pub parent: String,
pub framework_id: String,
pub framework: Option<Framework>,
/* private fields */
}Expand description
The request message for [CreateFramework][].
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 resource name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
framework_id: StringRequired. The identifier (ID) of the framework. The ID is not the full name of the framework; it’s the last part of the full name of the framework.
framework: Option<Framework>Required. The resource being created.
Implementations§
Source§impl CreateFrameworkRequest
impl CreateFrameworkRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sourcepub fn set_framework_id<T: Into<String>>(self, v: T) -> Self
pub fn set_framework_id<T: Into<String>>(self, v: T) -> Self
Sets the value of framework_id.
§Example
ⓘ
let x = CreateFrameworkRequest::new().set_framework_id("example");Sourcepub fn set_framework<T>(self, v: T) -> Self
pub fn set_framework<T>(self, v: T) -> Self
Sourcepub fn set_or_clear_framework<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_framework<T>(self, v: Option<T>) -> Self
Trait Implementations§
Source§impl Clone for CreateFrameworkRequest
impl Clone for CreateFrameworkRequest
Source§fn clone(&self) -> CreateFrameworkRequest
fn clone(&self) -> CreateFrameworkRequest
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 CreateFrameworkRequest
impl Debug for CreateFrameworkRequest
Source§impl Default for CreateFrameworkRequest
impl Default for CreateFrameworkRequest
Source§fn default() -> CreateFrameworkRequest
fn default() -> CreateFrameworkRequest
Returns the “default value” for a type. Read more
Source§impl Message for CreateFrameworkRequest
impl Message for CreateFrameworkRequest
Source§impl PartialEq for CreateFrameworkRequest
impl PartialEq for CreateFrameworkRequest
impl StructuralPartialEq for CreateFrameworkRequest
Auto Trait Implementations§
impl Freeze for CreateFrameworkRequest
impl RefUnwindSafe for CreateFrameworkRequest
impl Send for CreateFrameworkRequest
impl Sync for CreateFrameworkRequest
impl Unpin for CreateFrameworkRequest
impl UnwindSafe for CreateFrameworkRequest
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