[−][src]Struct trello::Board
Fields
id: String
name: String
closed: bool
lists: Option<Vec<List>>
Methods
impl Board
[src]
pub fn new(id: &str, name: &str, lists: Option<Vec<List>>) -> Board
[src]
pub fn retrieve_nested(&mut self, client: &Client) -> Result<(), Box<dyn Error>>
[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, Box<dyn Error>>
[src]
pub fn update(client: &Client, board: &Board) -> Result<Board, Box<dyn Error>>
[src]
pub fn get_all(client: &Client) -> Result<Vec<Board>, Box<dyn Error>>
[src]
pub fn get(client: &Client, board_id: &str) -> Result<Board, Box<dyn Error>>
[src]
pub fn get_all_lists(
client: &Client,
board_id: &str,
cards: bool
) -> Result<Vec<List>, Box<dyn Error>>
[src]
client: &Client,
board_id: &str,
cards: bool
) -> Result<Vec<List>, Box<dyn Error>>
Trait Implementations
impl Debug for Board
[src]
impl<'de> Deserialize<'de> for Board
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for Board
[src]
impl PartialEq<Board> 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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,