Struct habitica_rust_client::task::tasks::Tasks [−][src]
pub struct Tasks { /* fields omitted */ }
Implementations
Returns all of users tasks (habits, dailies, to-dos)
Examples
extern crate habitica_rust_client;
extern crate serde_json;
use habitica_rust_client::task::tasks::Tasks;
use serde_json::Value;
let data = r#"{
"data": [{"text": "test"}]
}"#;
let value: Value = serde_json::from_str(data).unwrap();
let tasks = Tasks::new(value);
print!("{:?}", tasks);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Tasks
impl UnwindSafe for Tasks
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more