pub struct TaskAddProjectRequest {
pub project: String,
pub insert_after: Option<String>,
pub insert_before: Option<String>,
pub section: Option<String>,
}
Fields
project: String
The project to add the task to.
insert_after: Option<String>
A task in the project to insert the task after, or null
to insert at the beginning of the list.
insert_before: Option<String>
A task in the project to insert the task before, or null
to insert at the end of the list.
section: Option<String>
A section in the project to insert the task into. The task will be inserted at the bottom of the section.
Implementations
sourceimpl TaskAddProjectRequest
impl TaskAddProjectRequest
pub fn new(project: String) -> TaskAddProjectRequest
Trait Implementations
sourceimpl Clone for TaskAddProjectRequest
impl Clone for TaskAddProjectRequest
sourcefn clone(&self) -> TaskAddProjectRequest
fn clone(&self) -> TaskAddProjectRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TaskAddProjectRequest
impl Debug for TaskAddProjectRequest
sourceimpl<'de> Deserialize<'de> for TaskAddProjectRequest
impl<'de> Deserialize<'de> for TaskAddProjectRequest
sourcefn 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
sourceimpl PartialEq<TaskAddProjectRequest> for TaskAddProjectRequest
impl PartialEq<TaskAddProjectRequest> for TaskAddProjectRequest
sourcefn eq(&self, other: &TaskAddProjectRequest) -> bool
fn eq(&self, other: &TaskAddProjectRequest) -> bool
sourceimpl Serialize for TaskAddProjectRequest
impl Serialize for TaskAddProjectRequest
impl StructuralPartialEq for TaskAddProjectRequest
Auto Trait Implementations
impl RefUnwindSafe for TaskAddProjectRequest
impl Send for TaskAddProjectRequest
impl Sync for TaskAddProjectRequest
impl Unpin for TaskAddProjectRequest
impl UnwindSafe for TaskAddProjectRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more