[−][src]Struct github_rs::repos::get::Commits
Methods
impl<'g> Commits<'g>
[src]
pub fn sha(self, sha_str: &str) -> CommitsSha<'g>
[src]
pub fn reference(self, ref_str: &str) -> CommitsReference<'g>
[src]
Trait Implementations
impl<'a> Executor for Commits<'a>
[src]
fn execute<T>(self) -> Result<(HeaderMap, StatusCode, Option<T>)> where
T: DeserializeOwned,
[src]
T: DeserializeOwned,
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<Commits<'g>> for CommitsSha<'g>
[src]
impl<'g> From<Commits<'g>> for CommitsReference<'g>
[src]
impl<'g> From<Repo<'g>> for Commits<'g>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.