#[non_exhaustive]pub struct ProjectCreationConfig {
pub parent: String,
pub project_display_name: String,
pub billing_account_id: String,
/* private fields */
}Expand description
The configuration that’s required to create a project to be used as the target resource of a 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.parent: StringRequired. The parent of the project, in the format
organizations/{organizationID} or folders/{folderID}.
project_display_name: StringRequired. The display name of the project.
billing_account_id: StringRequired. The billing account ID for the project.
Implementations§
Source§impl ProjectCreationConfig
impl ProjectCreationConfig
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_project_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_project_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of project_display_name.
§Example
ⓘ
let x = ProjectCreationConfig::new().set_project_display_name("example");Sourcepub fn set_billing_account_id<T: Into<String>>(self, v: T) -> Self
pub fn set_billing_account_id<T: Into<String>>(self, v: T) -> Self
Sets the value of billing_account_id.
§Example
ⓘ
let x = ProjectCreationConfig::new().set_billing_account_id("example");Trait Implementations§
Source§impl Clone for ProjectCreationConfig
impl Clone for ProjectCreationConfig
Source§fn clone(&self) -> ProjectCreationConfig
fn clone(&self) -> ProjectCreationConfig
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 ProjectCreationConfig
impl Debug for ProjectCreationConfig
Source§impl Default for ProjectCreationConfig
impl Default for ProjectCreationConfig
Source§fn default() -> ProjectCreationConfig
fn default() -> ProjectCreationConfig
Returns the “default value” for a type. Read more
Source§impl Message for ProjectCreationConfig
impl Message for ProjectCreationConfig
Source§impl PartialEq for ProjectCreationConfig
impl PartialEq for ProjectCreationConfig
impl StructuralPartialEq for ProjectCreationConfig
Auto Trait Implementations§
impl Freeze for ProjectCreationConfig
impl RefUnwindSafe for ProjectCreationConfig
impl Send for ProjectCreationConfig
impl Sync for ProjectCreationConfig
impl Unpin for ProjectCreationConfig
impl UnwindSafe for ProjectCreationConfig
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