pub struct SectionTaskInsertRequest {
pub insert_after: Option<String>,
pub insert_before: Option<String>,
pub task: String,
}
Fields§
§insert_after: Option<String>
An existing task within this section after which the added task should be inserted. Cannot be provided together with insert_before.
insert_before: Option<String>
An existing task within this section before which the added task should be inserted. Cannot be provided together with insert_after.
task: String
The task to add to this section.
Trait Implementations§
Source§impl Clone for SectionTaskInsertRequest
impl Clone for SectionTaskInsertRequest
Source§fn clone(&self) -> SectionTaskInsertRequest
fn clone(&self) -> SectionTaskInsertRequest
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 SectionTaskInsertRequest
impl Debug for SectionTaskInsertRequest
Source§impl Default for SectionTaskInsertRequest
impl Default for SectionTaskInsertRequest
Source§fn default() -> SectionTaskInsertRequest
fn default() -> SectionTaskInsertRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SectionTaskInsertRequest
impl<'de> Deserialize<'de> for SectionTaskInsertRequest
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
Source§impl Display for SectionTaskInsertRequest
impl Display for SectionTaskInsertRequest
Auto Trait Implementations§
impl Freeze for SectionTaskInsertRequest
impl RefUnwindSafe for SectionTaskInsertRequest
impl Send for SectionTaskInsertRequest
impl Sync for SectionTaskInsertRequest
impl Unpin for SectionTaskInsertRequest
impl UnwindSafe for SectionTaskInsertRequest
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