pub struct ChangesPage {
pub digests: Vec<CommitDigest>,
pub cursor: i64,
pub truncated: bool,
pub head: i64,
}Expand description
A page of the feed.
Fields§
§digests: Vec<CommitDigest>§cursor: i64The last digest’s seq, or the input cursor when the page is empty.
truncated: boolMore commits follow.
head: i64The repo’s max seq (0 when it has no commits).
Implementations§
Trait Implementations§
Source§impl Clone for ChangesPage
impl Clone for ChangesPage
Source§fn clone(&self) -> ChangesPage
fn clone(&self) -> ChangesPage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChangesPage
impl Debug for ChangesPage
impl Eq for ChangesPage
Source§impl PartialEq for ChangesPage
impl PartialEq for ChangesPage
impl StructuralPartialEq for ChangesPage
Auto Trait Implementations§
impl Freeze for ChangesPage
impl RefUnwindSafe for ChangesPage
impl Send for ChangesPage
impl Sync for ChangesPage
impl Unpin for ChangesPage
impl UnsafeUnpin for ChangesPage
impl UnwindSafe for ChangesPage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.