pub struct InitiativeCreateInput {
pub id: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub owner_id: Option<String>,
pub sort_order: Option<f64>,
pub color: Option<String>,
pub icon: Option<String>,
pub status: Option<InitiativeStatus>,
pub target_date: Option<NaiveDate>,
pub target_date_resolution: Option<DateResolutionType>,
pub content: Option<String>,
}Expand description
The properties of the initiative to create.
Fields§
§id: Option<String>The identifier in UUID v4 format. If none is provided, the backend will generate one.
name: Option<String>The name of the initiative.
description: Option<String>The description of the initiative.
owner_id: Option<String>The owner of the initiative.
sort_order: Option<f64>The sort order of the initiative within the organization.
color: Option<String>The initiative’s color.
icon: Option<String>The initiative’s icon.
status: Option<InitiativeStatus>The initiative’s status.
target_date: Option<NaiveDate>The estimated completion date of the initiative.
target_date_resolution: Option<DateResolutionType>The resolution of the initiative’s estimated completion date.
content: Option<String>The initiative’s content in markdown format.
Trait Implementations§
Source§impl Clone for InitiativeCreateInput
impl Clone for InitiativeCreateInput
Source§fn clone(&self) -> InitiativeCreateInput
fn clone(&self) -> InitiativeCreateInput
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 InitiativeCreateInput
impl Debug for InitiativeCreateInput
Source§impl Default for InitiativeCreateInput
impl Default for InitiativeCreateInput
Source§fn default() -> InitiativeCreateInput
fn default() -> InitiativeCreateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InitiativeCreateInput
impl<'de> Deserialize<'de> for InitiativeCreateInput
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 InitiativeCreateInput
impl RefUnwindSafe for InitiativeCreateInput
impl Send for InitiativeCreateInput
impl Sync for InitiativeCreateInput
impl Unpin for InitiativeCreateInput
impl UnwindSafe for InitiativeCreateInput
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