pub struct UpdateProjectSpec {
pub id: String,
pub title: Option<String>,
pub notes: Option<String>,
pub when: Option<String>,
pub deadline: Option<String>,
pub tags: Option<Vec<String>>,
pub area_id: Option<String>,
pub completed: Option<bool>,
pub canceled: Option<bool>,
}Fields§
§id: String§title: Option<String>§notes: Option<String>§when: Option<String>§deadline: Option<String>§area_id: Option<String>Parent area UUID. Some("inbox") not meaningful for projects — pass an
area UUID or omit.
completed: Option<bool>§canceled: Option<bool>Trait Implementations§
Source§impl Clone for UpdateProjectSpec
impl Clone for UpdateProjectSpec
Source§fn clone(&self) -> UpdateProjectSpec
fn clone(&self) -> UpdateProjectSpec
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 UpdateProjectSpec
impl Debug for UpdateProjectSpec
Source§impl Default for UpdateProjectSpec
impl Default for UpdateProjectSpec
Source§fn default() -> UpdateProjectSpec
fn default() -> UpdateProjectSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateProjectSpec
impl<'de> Deserialize<'de> for UpdateProjectSpec
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 UpdateProjectSpec
impl RefUnwindSafe for UpdateProjectSpec
impl Send for UpdateProjectSpec
impl Sync for UpdateProjectSpec
impl Unpin for UpdateProjectSpec
impl UnsafeUnpin for UpdateProjectSpec
impl UnwindSafe for UpdateProjectSpec
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