#[non_exhaustive]pub struct CreateProjectInput {
pub name: Option<String>,
pub region: Option<String>,
pub contents: Option<Blob>,
pub snapshot_id: Option<String>,
}
Expand description
Request structure used to request a project be created.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
Name of the project.
region: Option<String>
Default region where project resources should be created.
contents: Option<Blob>
ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.
snapshot_id: Option<String>
Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.
Implementations§
source§impl CreateProjectInput
impl CreateProjectInput
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
Default region where project resources should be created.
sourcepub fn contents(&self) -> Option<&Blob>
pub fn contents(&self) -> Option<&Blob>
ZIP or YAML file which contains configuration settings to be used when creating the project. This may be the contents of the file downloaded from the URL provided in an export project operation.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
Unique identifier for an exported snapshot of project configuration. This snapshot identifier is included in the share URL when a project is exported.
source§impl CreateProjectInput
impl CreateProjectInput
sourcepub fn builder() -> CreateProjectInputBuilder
pub fn builder() -> CreateProjectInputBuilder
Creates a new builder-style object to manufacture CreateProjectInput
.
Trait Implementations§
source§impl Clone for CreateProjectInput
impl Clone for CreateProjectInput
source§fn clone(&self) -> CreateProjectInput
fn clone(&self) -> CreateProjectInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateProjectInput
impl Debug for CreateProjectInput
source§impl PartialEq for CreateProjectInput
impl PartialEq for CreateProjectInput
source§fn eq(&self, other: &CreateProjectInput) -> bool
fn eq(&self, other: &CreateProjectInput) -> bool
self
and other
values to be equal, and is used
by ==
.