Struct mangadex_api_schema_rust::ApiData
source · pub struct ApiData<T> {
pub result: ResultType,
pub response: ResponseType,
pub data: T,
}Expand description
API response for a single entity containing an ApiObject in the data field.
Fields§
§result: ResultType§response: ResponseType§data: TTrait Implementations§
source§impl<'de, T> Deserialize<'de> for ApiData<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ApiData<T>where
T: Deserialize<'de>,
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<T> FromResponse for ApiData<T>where
T: DeserializeOwned,
impl<T> FromResponse for ApiData<T>where
T: DeserializeOwned,
Auto Trait Implementations§
impl<T> RefUnwindSafe for ApiData<T>where
T: RefUnwindSafe,
impl<T> Send for ApiData<T>where
T: Send,
impl<T> Sync for ApiData<T>where
T: Sync,
impl<T> Unpin for ApiData<T>where
T: Unpin,
impl<T> UnwindSafe for ApiData<T>where
T: UnwindSafe,
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