/// Request server to update an existed `SubTodo`.
///
/// The fields allowed to be updated:
///
/// * `description`
/// * `parent_uuid` (allowed, but will be dropped)
/// * `completed`
/// * `completed_at`
Request server to update an existed `SubTodo`.
The fields allowed to be updated.


Request server to update an existed ` SubTodo ` . The fields allowed to be updated .
pub fn update_subtodo<U: Into<Uuid>>(
        &self,
        parent: U,
        uuid: U,
        sub_todo: &SubTodo,
    ) -> Result<SubTodo, Error> {
        let url = format!("{}/{}/sub_todos/{}", TODO_URL, parent.into(), uuid.into());
        // TODO: Validate the item
        self.patch(url.as_str(), sub_todo)
    }
pub fn update_subtodo < U : Into < Uuid > > ( & self , parent : U , uuid : U , sub_todo : & SubTodo , ) -> Result < SubTodo , Error > { let url = format ! ( " " TODO_URL parent into ( ) uuid into ( ) ) ; // TODO: Validate the item self . patch ( url . as_str ( ) , sub_todo ) }
Request server to update an existed `SubTodo`.
Request server to update an existed ` SubTodo ` .
&self
parent
U
uuid
U
sub_todo
&SubTodo