pub struct ProjectSaveAsTemplateRequestBody {
pub name: String,
pub public: bool,
pub team: String,
pub workspace: String,
}Fields§
§name: StringThe name of the new project template.
public: boolSets the project template to public to its team.
team: StringSets the team of the new project template. If the project exists in an organization, specify team and not workspace.
workspace: StringSets the workspace of the new project template. Only specify workspace if the project exists in a workspace.
Trait Implementations§
Source§impl Clone for ProjectSaveAsTemplateRequestBody
impl Clone for ProjectSaveAsTemplateRequestBody
Source§fn clone(&self) -> ProjectSaveAsTemplateRequestBody
fn clone(&self) -> ProjectSaveAsTemplateRequestBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ProjectSaveAsTemplateRequestBody
impl Default for ProjectSaveAsTemplateRequestBody
Source§fn default() -> ProjectSaveAsTemplateRequestBody
fn default() -> ProjectSaveAsTemplateRequestBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectSaveAsTemplateRequestBody
impl<'de> Deserialize<'de> for ProjectSaveAsTemplateRequestBody
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
Auto Trait Implementations§
impl Freeze for ProjectSaveAsTemplateRequestBody
impl RefUnwindSafe for ProjectSaveAsTemplateRequestBody
impl Send for ProjectSaveAsTemplateRequestBody
impl Sync for ProjectSaveAsTemplateRequestBody
impl Unpin for ProjectSaveAsTemplateRequestBody
impl UnsafeUnpin for ProjectSaveAsTemplateRequestBody
impl UnwindSafe for ProjectSaveAsTemplateRequestBody
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