pub struct Board {
pub id: String,
pub name: String,
pub closed: bool,
pub url: String,
pub lists: Option<Vec<List>>,
}
Fields§
§id: String
§name: String
§closed: bool
§url: String
§lists: Option<Vec<List>>
Implementations§
source§impl Board
impl Board
pub fn new(id: &str, name: &str, lists: Option<Vec<List>>, url: &str) -> Board
pub fn filter(&self, filter_name: &str) -> Board
sourcepub fn retrieve_nested(
&mut self,
client: &TrelloClient,
) -> Result<(), TrelloError>
pub fn retrieve_nested( &mut self, client: &TrelloClient, ) -> Result<(), TrelloError>
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: &TrelloClient, name: &str) -> Result<Board, TrelloError>
pub fn open(client: &TrelloClient, board_id: &str) -> Result<Board, TrelloError>
pub fn update( client: &TrelloClient, board: &Board, ) -> Result<Board, TrelloError>
pub fn get_all(client: &TrelloClient) -> Result<Vec<Board>, TrelloError>
pub fn get(client: &TrelloClient, board_id: &str) -> Result<Board, TrelloError>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Board
impl<'de> Deserialize<'de> for Board
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Board
impl PartialEq for Board
source§impl Renderable for Board
impl Renderable for Board
source§impl TrelloObject for Board
impl TrelloObject for Board
impl Eq for Board
impl StructuralPartialEq for Board
Auto Trait Implementations§
impl Freeze for Board
impl RefUnwindSafe for Board
impl Send for Board
impl Sync for Board
impl Unpin for Board
impl UnwindSafe for Board
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.