pub struct Response<T> {
pub result: T,
pub time: Option<Timestamp>,
pub headers: Headers,
pub ret_ext_info: Option<RetExtInfo>,
}Fields§
§result: T§time: Option<Timestamp>§headers: Headers§ret_ext_info: Option<RetExtInfo>Per-item results for batch endpoints; None for all non-batch calls.
Trait Implementations§
Source§impl<T: PartialEq> PartialEq for Response<T>
impl<T: PartialEq> PartialEq for Response<T>
impl<T> StructuralPartialEq for Response<T>
Auto Trait Implementations§
impl<T> Freeze for Response<T>where
T: Freeze,
impl<T> RefUnwindSafe for Response<T>where
T: RefUnwindSafe,
impl<T> Send for Response<T>where
T: Send,
impl<T> Sync for Response<T>where
T: Sync,
impl<T> Unpin for Response<T>where
T: Unpin,
impl<T> UnsafeUnpin for Response<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Response<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