Struct roctogen::endpoints::meta::Meta [−][src]
pub struct Meta<'api> { /* fields omitted */ }
Implementations
impl<'api> Meta<'api>
[src]
impl<'api> Meta<'api>
[src]pub async fn get_async(&self) -> Result<ApiOverview, MetaGetError>
[src]
pub async fn get_async(&self) -> Result<ApiOverview, MetaGetError>
[src]Get GitHub meta information
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.
pub fn get(&self) -> Result<ApiOverview, MetaGetError>
[src]
pub fn get(&self) -> Result<ApiOverview, MetaGetError>
[src]Get GitHub meta information
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.
pub async fn get_octocat_async(
&self,
query_params: Option<impl Into<MetaGetOctocatParams<'api>>>
) -> Result<String, MetaGetOctocatError>
[src]
pub async fn get_octocat_async(
&self,
query_params: Option<impl Into<MetaGetOctocatParams<'api>>>
) -> Result<String, MetaGetOctocatError>
[src]pub fn get_octocat(
&self,
query_params: Option<impl Into<MetaGetOctocatParams<'api>>>
) -> Result<String, MetaGetOctocatError>
[src]
pub fn get_octocat(
&self,
query_params: Option<impl Into<MetaGetOctocatParams<'api>>>
) -> Result<String, MetaGetOctocatError>
[src]pub async fn get_zen_async(&self) -> Result<String, MetaGetZenError>
[src]
pub async fn get_zen_async(&self) -> Result<String, MetaGetZenError>
[src]pub fn get_zen(&self) -> Result<String, MetaGetZenError>
[src]
pub fn get_zen(&self) -> Result<String, MetaGetZenError>
[src]pub async fn root_async(&self) -> Result<GetMetaRootResponse200, MetaRootError>
[src]
pub async fn root_async(&self) -> Result<GetMetaRootResponse200, MetaRootError>
[src]pub fn root(&self) -> Result<GetMetaRootResponse200, MetaRootError>
[src]
pub fn root(&self) -> Result<GetMetaRootResponse200, MetaRootError>
[src]