Struct scryfall::error::ScryfallError[][src]

pub struct ScryfallError {
    pub details: String,
    pub warnings: Vec<String>,
}

An Error object represents a failure to find information or understand the input you provided to the API.

Official docs

Fields

details: String

A human-readable string explaining the error.

warnings: Vec<String>

If your input also generated non-failure warnings, they will be provided as human-readable strings in this array.

Trait Implementations

impl Clone for ScryfallError[src]

impl Debug for ScryfallError[src]

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

impl Eq for ScryfallError[src]

impl Hash for ScryfallError[src]

impl Ord for ScryfallError[src]

impl PartialEq<ScryfallError> for ScryfallError[src]

impl PartialOrd<ScryfallError> for ScryfallError[src]

impl Serialize for ScryfallError[src]

impl StructuralEq for ScryfallError[src]

impl StructuralPartialEq for ScryfallError[src]

Auto Trait Implementations

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<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.