pub struct ProjectCreateData {
pub name: String,
pub workspace: Option<String>,
pub team: Option<String>,
pub notes: Option<String>,
pub color: Option<String>,
pub start_on: Option<String>,
pub due_on: Option<String>,
pub public: Option<bool>,
pub owner: Option<String>,
pub members: Vec<String>,
pub custom_fields: BTreeMap<String, Value>,
}Expand description
Request payload for creating a project.
Fields§
§name: StringName of the new project.
workspace: Option<String>Workspace or organization identifier.
team: Option<String>Team identifier when applicable.
notes: Option<String>Notes/description.
color: Option<String>Color slug.
start_on: Option<String>Start date.
due_on: Option<String>Due date.
public: Option<bool>Whether the project is public.
owner: Option<String>Owner identifier.
members: Vec<String>List of member identifiers.
custom_fields: BTreeMap<String, Value>Custom field assignments.
Trait Implementations§
Source§impl Clone for ProjectCreateData
impl Clone for ProjectCreateData
Source§fn clone(&self) -> ProjectCreateData
fn clone(&self) -> ProjectCreateData
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 Debug for ProjectCreateData
impl Debug for ProjectCreateData
Source§impl Default for ProjectCreateData
impl Default for ProjectCreateData
Source§fn default() -> ProjectCreateData
fn default() -> ProjectCreateData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProjectCreateData
impl<'de> Deserialize<'de> for ProjectCreateData
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 ProjectCreateData
impl RefUnwindSafe for ProjectCreateData
impl Send for ProjectCreateData
impl Sync for ProjectCreateData
impl Unpin for ProjectCreateData
impl UnsafeUnpin for ProjectCreateData
impl UnwindSafe for ProjectCreateData
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