Struct octorust::meta::Meta[][src]

pub struct Meta { /* fields omitted */ }

Implementations

GitHub API Root.

This function performs a GET to the / endpoint.

Get Hypermedia links to resources accessible in GitHub’s REST API

FROM: https://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint

Get GitHub meta information.

This function performs a GET to the /meta endpoint.

Returns meta information about GitHub, including a list of GitHub’s IP addresses. For more information, see “About GitHub’s IP addresses.”

Note: The IP addresses shown in the documentation’s response are only example values. You must always query the API directly to get the latest list of IP addresses.

FROM: https://docs.github.com/rest/reference/meta#get-github-meta-information

Get Octocat.

This function performs a GET to the /octocat endpoint.

Get the octocat as ASCII art

FROM: https://docs.github.com/rest/reference/meta#get-octocat

Parameters:

  • s: &str – The words to show in Octocat’s speech bubble.

Get the Zen of GitHub.

This function performs a GET to the /zen endpoint.

Get a random sentence from the Zen of GitHub

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.