[][src]Struct github_rs::repos::get::BranchesNameProtectionRestrictions

pub struct BranchesNameProtectionRestrictions<'g> { /* fields omitted */ }

Methods

impl<'g> BranchesNameProtectionRestrictions<'g>[src]

Trait Implementations

impl<'a> Executor for BranchesNameProtectionRestrictions<'a>[src]

fn execute<T>(self) -> Result<(HeaderMap, StatusCode, Option<T>)> where
    T: DeserializeOwned
[src]

Execute the query by sending the built up request to GitHub. The value returned is either an error or the Status Code and Json after it has been deserialized. Please take a look at the GitHub documentation to see what value you should receive back for good or bad requests.

impl<'g> From<BranchesNameProtection<'g>> for BranchesNameProtectionRestrictions<'g>[src]

impl<'g> From<BranchesNameProtectionRestrictions<'g>> for BranchesNameProtectionRestrictionsUsers<'g>[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T