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

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

Methods

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

Trait Implementations

impl<'a> Executor for BranchesNameProtection<'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<BranchesName<'g>> for BranchesNameProtection<'g>[src]

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

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

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

Auto Trait Implementations

impl<'g> !Send for BranchesNameProtection<'g>

impl<'g> !Sync for BranchesNameProtection<'g>

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