pub struct PlannerNote {
pub id: u64,
pub title: Option<String>,
pub description: Option<String>,
pub user_id: Option<u64>,
pub workflow_state: Option<String>,
pub course_id: Option<u64>,
pub todo_date: Option<String>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
/* private fields */
}Fields§
§id: u64§title: Option<String>§description: Option<String>§user_id: Option<u64>§workflow_state: Option<String>§course_id: Option<u64>§todo_date: Option<String>§created_at: Option<String>§updated_at: Option<String>Implementations§
Source§impl PlannerNote
impl PlannerNote
Sourcepub async fn delete(&self) -> Result<PlannerNote>
pub async fn delete(&self) -> Result<PlannerNote>
Delete this planner note.
DELETE /api/v1/planner_notes/:id
Sourcepub async fn update(&self, params: PlannerNoteParams) -> Result<PlannerNote>
pub async fn update(&self, params: PlannerNoteParams) -> Result<PlannerNote>
Update this planner note.
PUT /api/v1/planner_notes/:id
Trait Implementations§
Source§impl Clone for PlannerNote
impl Clone for PlannerNote
Source§fn clone(&self) -> PlannerNote
fn clone(&self) -> PlannerNote
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlannerNote
impl Debug for PlannerNote
Source§impl<'de> Deserialize<'de> for PlannerNote
impl<'de> Deserialize<'de> for PlannerNote
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 PlannerNote
impl !RefUnwindSafe for PlannerNote
impl Send for PlannerNote
impl Sync for PlannerNote
impl Unpin for PlannerNote
impl UnsafeUnpin for PlannerNote
impl !UnwindSafe for PlannerNote
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