pub struct Section {
pub id: String,
pub user_id: String,
pub project_id: String,
pub added_at: String,
pub updated_at: Option<String>,
pub archived_at: Option<String>,
pub name: String,
pub section_order: i32,
pub is_archived: bool,
pub is_deleted: bool,
pub is_collapsed: bool,
}Expand description
Todoist Section model (API v1) Represents a section as returned by the Unified API v1 (SectionSyncView)
Fields§
§id: String§user_id: StringUser ID of the section creator (API returns this as user_id)
project_id: String§added_at: String§updated_at: Option<String>§archived_at: Option<String>§name: String§section_order: i32§is_archived: bool§is_deleted: boolWhether the section is deleted
is_collapsed: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Section
impl<'de> Deserialize<'de> for Section
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 Section
impl RefUnwindSafe for Section
impl Send for Section
impl Sync for Section
impl Unpin for Section
impl UnwindSafe for Section
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