pub struct GraphResponse<T> { /* private fields */ }

Implementations

Get the URL.

Get a reference to the body.

Returns the body and ownership of it and dropping the GraphResponse in the process.

Get the HTTP status code of the response.

Get the headers returned of the response.

This makes a request to the location header returned in this response for monitoring progress of long running actions.

This is a blocking request and not asycc. Use the method async_job_status if you are using the async graph client.

This makes a request to the location header returned in this response for monitoring progress of long running actions.

This is a async request and not blocking. Use the method job_status if you are using the blocking graph client.

Trait Implementations

Converts this type into a mutable reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Formats the value using the given formatter. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more