Struct fractal_api::ClientV1 [] [src]

pub struct ClientV1 {
    // some fields omitted
}

The client struct.

This struct will be in charge of connections to the Fractal Global Credits API.

Methods

impl ClientV1
[src]

Creates a new Fractal Global Credits API client.

Creates a new Fractal Global Credits API client.

Creates a new Fractal Global Credits API development client.

Sets the read timeout for requests.

Sets the write timeout for requests.

Gets a token from the API.

Gets all users from the database.

Gets all the transactions since the given transaction

Generates a transaction

Logs the user in

Begins a the reset password procecss

Resends the email confirmation

Get the user

Gets the logged in users info

Registers the user

Sets the users username

Sets the users phone

Sets the users birthday

Sets the users first and last name

Sets the users email

Sets the users profile picture

Sets the users address

Sets the user password

Creates a pending invitation to connect to the user

Confirms a connection

Confirms the users email

Attempts to confirm the new password reset

Deletes the user