Struct gitforge::hub::Hub[][src]

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

GitHub client, as Forge. Use Box<dyn Forge> instead.

Implementations

Create a new GitHub client. Prefer forge::Config::new()

This call is primarily provided for internal use. Call it yourself only if you want to hardcode use of GitHub.

Trait Implementations

Formats the value using the given formatter. Read more

Clear any cached id lookups. Read more

Inspect forge’s hostname

Inspect forge’s hostname

Make a request. This could be a read or write request. Read more

Get the repo name string from a URL Read more

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

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.