taiga 0.0.1

TaigaIO client library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use structs::common::{Taiga, APIError, ObjectType, DeleteProxy};

impl<'a> DeleteProxy<'a> {
    pub fn new(taiga_client: &'a Taiga, object_type: ObjectType, id: i64) -> DeleteProxy<'a> {
        DeleteProxy {
            taiga_client: taiga_client,
            object_type: object_type,
            object_id: id
        }
    }

    pub fn run(self: DeleteProxy<'a>) -> Result<i64, APIError> {
        // TODO
        return Ok(0);
    }
}