Struct graph_http::GraphResponse [−][src]
pub struct GraphResponse<T> { /* fields omitted */ }
Implementations
pub fn new(
url: GraphUrl,
body: T,
status: StatusCode,
headers: HeaderMap
) -> GraphResponse<T>
[src]Trait Implementations
impl<T: DeserializeOwned> AsyncTryFrom<Result<Response, GraphFailure>, GraphResponse<T>> for GraphResponse<T>
[src]
impl<T: DeserializeOwned> AsyncTryFrom<Result<Response, GraphFailure>, GraphResponse<T>> for GraphResponse<T>
[src]type Error = GraphFailure
fn async_try_from<'async_trait>(
result: GraphResult<Response>
) -> Pin<Box<dyn Future<Output = Result<Self, Self::Error>> + Send + 'async_trait>> where
Self: 'async_trait,
[src]type Error = GraphFailure
type Error = GraphFailure
The type returned in the event of a conversion error.
Performs the conversion.
type Error = GraphFailure
type Error = GraphFailure
The type returned in the event of a conversion error.
Auto Trait Implementations
impl<T> RefUnwindSafe for GraphResponse<T> where
T: RefUnwindSafe,
impl<T> Send for GraphResponse<T> where
T: Send,
impl<T> Sync for GraphResponse<T> where
T: Sync,
impl<T> Unpin for GraphResponse<T> where
T: Unpin,
impl<T> UnwindSafe for GraphResponse<T> where
T: UnwindSafe,