[−][src]Struct mtgapi_client::api::card::card_api::CardApi
Responsible for the calls to the /cards endpoint
Methods
impl CardApi
[src]
pub fn all(&self) -> Box<AllCardsRequest>
[src]
Returns a Request Object to fetch all cards
pub fn all_filtered(&self, filter: CardFilter) -> Box<AllCardsRequest>
[src]
Returns a Request Object to fetch all cards with a filter
pub async fn find<'_>(
&'_ self,
id: u32
) -> Result<ApiResponse<CardDetail>, Error>
[src]
&'_ self,
id: u32
) -> Result<ApiResponse<CardDetail>, Error>
Returns a specific card by a specific id
Auto Trait Implementations
impl !RefUnwindSafe for CardApi
impl !Send for CardApi
impl !Sync for CardApi
impl Unpin for CardApi
impl !UnwindSafe for CardApi
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> 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>,