Struct diem_data_client::Response [−][src]
pub struct Response<T> {
pub context: ResponseContext,
pub payload: T,
}Expand description
A response from the Data Client for a single API call.
Fields
context: ResponseContextAdditional context.
payload: TThe actual response payload.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for Response<T>
impl<T> !UnwindSafe for Response<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self