pub struct ListCommitsResponse {
pub commits: Vec<CommitSummary>,
pub next_cursor: Option<String>,
pub has_more: bool,
}Expand description
Paginated list of commits.
Fields§
§commits: Vec<CommitSummary>The commits in this page.
next_cursor: Option<String>Cursor for the next page, if more results exist.
has_more: boolWhether more results are available.
Trait Implementations§
Source§impl Clone for ListCommitsResponse
impl Clone for ListCommitsResponse
Source§fn clone(&self) -> ListCommitsResponse
fn clone(&self) -> ListCommitsResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListCommitsResponse
impl Debug for ListCommitsResponse
Source§impl<'de> Deserialize<'de> for ListCommitsResponse
impl<'de> Deserialize<'de> for ListCommitsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Paginated for ListCommitsResponse
impl Paginated for ListCommitsResponse
Source§type Item = CommitSummary
type Item = CommitSummary
The individual item type within a page.
Source§fn next_cursor(&self) -> Option<&str>
fn next_cursor(&self) -> Option<&str>
Returns the cursor for the next page, if any.
Auto Trait Implementations§
impl Freeze for ListCommitsResponse
impl RefUnwindSafe for ListCommitsResponse
impl Send for ListCommitsResponse
impl Sync for ListCommitsResponse
impl Unpin for ListCommitsResponse
impl UnwindSafe for ListCommitsResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more