pub struct BoardService { /* private fields */ }Expand description
A service to perform operations in Boards.
Implementations§
Source§impl BoardService
impl BoardService
pub fn new(jwt: String, app_token: String) -> BoardService
pub fn create<S: Into<String> + ToString>( &self, name: S, description: Option<S>, ) -> Result<Board, WeTransferError>
pub fn add_links<S: Into<String> + ToString>( &self, board_id: S, links: &[AddLink], ) -> Result<Vec<Link>, WeTransferError>
pub fn add_files<S: Into<String> + ToString>( &self, board_id: S, paths: &[S], ) -> Result<(), WeTransferError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoardService
impl !RefUnwindSafe for BoardService
impl Send for BoardService
impl Sync for BoardService
impl Unpin for BoardService
impl !UnwindSafe for BoardService
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more