pub struct Todo {
pub id: Option<String>,
pub title: String,
pub description: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
}
Fields§
§id: Option<String>
§title: String
§description: Option<String>
§created_at: Option<DateTime<Utc>>
§updated_at: Option<DateTime<Utc>>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Todo
impl<'de> Deserialize<'de> for Todo
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