Struct endbasic_std::testutils::MockService[][src]

pub struct MockService { /* fields omitted */ }
Expand description

Service client implementation that allows specifying expectations on requests and yields the responses previously recorded into it.

Trait Implementations

Returns the “default value” for a type. Read more

Sends an authentication request to the service with username and password to obtain an access token for the session. Read more

Sends a login request to the server with a previously-acquired access_token.

Sends a request to the server to obtain the list of files owned by username with a previously-acquired access_token. Read more

Sends a request to the server to obtain the metadata and/or the contents of filename owned by username as specified in request with a previously-acquired access_token. Read more

Sends a request to the server to update the metadata and/or the contents of filename owned by username as specified in request with a previously-acquired access_token. Read more

Sends a request to the server to delete filename owned by username with a previously-acquired access_token. Read more

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

Performs the conversion.

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

Performs the conversion.

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.