pub struct CreateProjectRequest {
pub contents: Option<Bytes>,
pub name: Option<String>,
pub region: Option<String>,
pub snapshot_id: Option<String>,
}
Expand description
Request structure used to request a project be created.
Fields§
§contents: Option<Bytes>
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.
name: Option<String>
Name of the project.
region: Option<String>
Default region where project resources should be created.
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.
Trait Implementations§
Source§impl Clone for CreateProjectRequest
impl Clone for CreateProjectRequest
Source§fn clone(&self) -> CreateProjectRequest
fn clone(&self) -> CreateProjectRequest
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 CreateProjectRequest
impl Debug for CreateProjectRequest
Source§impl Default for CreateProjectRequest
impl Default for CreateProjectRequest
Source§fn default() -> CreateProjectRequest
fn default() -> CreateProjectRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateProjectRequest
impl PartialEq for CreateProjectRequest
Source§impl Serialize for CreateProjectRequest
impl Serialize for CreateProjectRequest
impl StructuralPartialEq for CreateProjectRequest
Auto Trait Implementations§
impl !Freeze for CreateProjectRequest
impl RefUnwindSafe for CreateProjectRequest
impl Send for CreateProjectRequest
impl Sync for CreateProjectRequest
impl Unpin for CreateProjectRequest
impl UnwindSafe for CreateProjectRequest
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