[][src]Struct trello::Board

pub struct Board {
    pub id: String,
    pub name: String,
    pub closed: bool,
    pub url: String,
    pub lists: Option<Vec<List>>,
}

Fields

id: Stringname: Stringclosed: boolurl: Stringlists: Option<Vec<List>>

Methods

impl Board[src]

pub fn new(id: &str, name: &str, lists: Option<Vec<List>>, url: &str) -> Board[src]

pub fn filter(&self, filter_name: &str) -> Board[src]

pub fn retrieve_nested(&mut self, client: &Client) -> Result<(), TrelloError>[src]

Retrieves any missing nested content for the given board. This potentially means one or more network requests in order to retrieve the data. The Board will be mutated to include all its associated lists. The lists will also in turn contain the associated card resources.

pub fn create(client: &Client, name: &str) -> Result<Board, TrelloError>[src]

pub fn open(client: &Client, board_id: &str) -> Result<Board, TrelloError>[src]

pub fn update(client: &Client, board: &Board) -> Result<Board, TrelloError>[src]

pub fn get_all(client: &Client) -> Result<Vec<Board>, TrelloError>[src]

pub fn get(client: &Client, board_id: &str) -> Result<Board, TrelloError>[src]

Trait Implementations

impl Clone for Board[src]

impl Debug for Board[src]

impl<'de> Deserialize<'de> for Board[src]

impl Eq for Board[src]

impl PartialEq<Board> for Board[src]

impl Renderable for Board[src]

impl StructuralEq for Board[src]

impl StructuralPartialEq for Board[src]

impl TrelloObject for Board[src]

Auto Trait Implementations

impl RefUnwindSafe for Board

impl Send for Board

impl Sync for Board

impl Unpin for Board

impl UnwindSafe for Board

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,