pub struct SingleResponse<T>where
T: for<'a> Deserialize<'a>,{
pub data: T,
}
Fields§
§data: T
Trait Implementations§
Source§impl<T> Debug for SingleResponse<T>where
T: for<'a> Deserialize<'a> + Debug,
impl<T> Debug for SingleResponse<T>where
T: for<'a> Deserialize<'a> + Debug,
Source§impl<'de, T> Deserialize<'de> for SingleResponse<T>where
T: for<'a> Deserialize<'a>,
impl<'de, T> Deserialize<'de> for SingleResponse<T>where
T: for<'a> Deserialize<'a>,
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> PartialEq for SingleResponse<T>where
T: for<'a> Deserialize<'a> + PartialEq,
impl<T> PartialEq for SingleResponse<T>where
T: for<'a> Deserialize<'a> + PartialEq,
impl<T> StructuralPartialEq for SingleResponse<T>where
T: for<'a> Deserialize<'a>,
Auto Trait Implementations§
impl<T> Freeze for SingleResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for SingleResponse<T>where
T: RefUnwindSafe,
impl<T> Send for SingleResponse<T>where
T: Send,
impl<T> Sync for SingleResponse<T>where
T: Sync,
impl<T> Unpin for SingleResponse<T>where
T: Unpin,
impl<T> UnwindSafe for SingleResponse<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