#[repr(C)]pub struct SubgraphResponse {
pub connection_time_ms: u64,
pub response_time_ms: u64,
pub status_code: u16,
}
Expand description
Information on a response
Fields§
§connection_time_ms: u64
The milliseconds it took to connect to the host.
response_time_ms: u64
The milliseconds it took for the host to respond with data.
status_code: u16
The response status code
Trait Implementations§
Source§impl Clone for SubgraphResponse
impl Clone for SubgraphResponse
Source§fn clone(&self) -> SubgraphResponse
fn clone(&self) -> SubgraphResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubgraphResponse
impl Debug for SubgraphResponse
impl Copy for SubgraphResponse
Auto Trait Implementations§
impl Freeze for SubgraphResponse
impl RefUnwindSafe for SubgraphResponse
impl Send for SubgraphResponse
impl Sync for SubgraphResponse
impl Unpin for SubgraphResponse
impl UnwindSafe for SubgraphResponse
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