#[non_exhaustive]pub struct CreateProjectRequest {
pub project: Option<Project>,
}Expand description
The request sent to the CreateProject method.
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.project: Option<Project>Required. The Project to create.
Project ID is required. If the requested ID is unavailable, the request fails.
If the parent field is set, the resourcemanager.projects.create
permission is checked on the parent resource. If no parent is set and
the authorization credentials belong to an Organization, the parent
will be set to that Organization.
Implementations§
Trait Implementations§
Source§impl Clone for CreateProjectRequest
impl Clone for CreateProjectRequest
Source§fn clone(&self) -> CreateProjectRequest
fn clone(&self) -> CreateProjectRequest
Returns a copy 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<'de> Deserialize<'de> for CreateProjectRequestwhere
CreateProjectRequest: Default,
impl<'de> Deserialize<'de> for CreateProjectRequestwhere
CreateProjectRequest: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for CreateProjectRequest
impl Message for CreateProjectRequest
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