Struct mangadex::schema::ApiObject [−][src]
pub struct ApiObject<A, T = ResourceType> { pub id: Uuid, pub type: T, pub attributes: A, }
Fields
id: Uuid
type: T
attributes: A
Trait Implementations
impl<'de, A, T> Deserialize<'de> for ApiObject<A, T> where
A: Deserialize<'de>,
T: Deserialize<'de>,
impl<'de, A, T> Deserialize<'de> for ApiObject<A, T> where
A: Deserialize<'de>,
T: Deserialize<'de>,
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
Auto Trait Implementations
impl<A, T> RefUnwindSafe for ApiObject<A, T> where
A: RefUnwindSafe,
T: RefUnwindSafe,
impl<A, T> UnwindSafe for ApiObject<A, T> where
A: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more