Struct speedrun_api::types::Root
source · [−]pub struct Root<T> {
pub data: T,
pub pagination: Option<Pagination>,
}Fields
data: Tpagination: Option<Pagination>Trait Implementations
sourceimpl<'de, T> Deserialize<'de> for Root<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Root<T>where
T: Deserialize<'de>,
sourcefn 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
sourceimpl<T: PartialEq> PartialEq<Root<T>> for Root<T>
impl<T: PartialEq> PartialEq<Root<T>> for Root<T>
impl<T> StructuralPartialEq for Root<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Root<T>where
T: RefUnwindSafe,
impl<T> Send for Root<T>where
T: Send,
impl<T> Sync for Root<T>where
T: Sync,
impl<T> Unpin for Root<T>where
T: Unpin,
impl<T> UnwindSafe for Root<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more