Struct hydrus_api::client::Client[][src]

pub struct Client { /* fields omitted */ }

Implementations

Creates a new client to start requests against the hydrus api.

Returns the current API version. It’s being incremented every time the API changes.

Creates a new session key

Verifies if the access key is valid and returns some information about its permissions

Returns the list of tag and file services of the client

Adds a file to hydrus

Adds a file from binary data to hydrus

Moves files with matching hashes to the trash

Pulls files out of the trash by hash

Moves files from the inbox into the archive

Moves files from the archive into the inbox

Returns the list of tags as the client would see them in a human friendly order

Adds tags to files with the given hashes

Searches for files in the inbox, the archive or both

Returns the metadata for a given list of file_ids or hashes

Returns the bytes of a file from hydrus

Returns all files associated with the given url

Returns information about the given url

Adds an url to hydrus, optionally with additional tags and a destination page

Associates urls with the given file hashes

Disassociates urls with the given file hashes

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.