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