pub struct Due {
pub string: String,
pub date: String,
pub is_recurring: bool,
pub datetime: Option<String>,
pub timezone: Option<String>,
pub lang: Option<String>,
}Expand description
Todoist Due date model (API v1) Represents a due date as returned by the Unified API v1
Fields§
§string: String§date: String§is_recurring: bool§datetime: Option<String>§timezone: Option<String>§lang: Option<String>Language of the due string
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Due
impl<'de> Deserialize<'de> for Due
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 Due
impl RefUnwindSafe for Due
impl Send for Due
impl Sync for Due
impl Unpin for Due
impl UnsafeUnpin for Due
impl UnwindSafe for Due
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