pub struct CommitsAnswer {
pub building: Option<Address>,
pub before: Option<Seq>,
pub commits: Vec<CommitAnswer>,
pub more: bool,
}Expand description
One page of the commits a city made, newest first.
building and before are the question handed back: the wire
carries no request id, so a page matches an answer to what it asked
by content, the way ChangesAnswer carries base and head. more
rather than a cursor: the next page begins before the last seq
here, which the reader already holds.
Fields§
§building: Option<Address>§before: Option<Seq>§commits: Vec<CommitAnswer>§more: boolTrait Implementations§
Source§impl Clone for CommitsAnswer
impl Clone for CommitsAnswer
Source§impl Debug for CommitsAnswer
impl Debug for CommitsAnswer
Source§impl<'de> Deserialize<'de> for CommitsAnswer
impl<'de> Deserialize<'de> for CommitsAnswer
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
impl Eq for CommitsAnswer
Source§impl PartialEq for CommitsAnswer
impl PartialEq for CommitsAnswer
Source§impl Serialize for CommitsAnswer
impl Serialize for CommitsAnswer
impl StructuralPartialEq for CommitsAnswer
Auto Trait Implementations§
impl Freeze for CommitsAnswer
impl RefUnwindSafe for CommitsAnswer
impl Send for CommitsAnswer
impl Sync for CommitsAnswer
impl Unpin for CommitsAnswer
impl UnsafeUnpin for CommitsAnswer
impl UnwindSafe for CommitsAnswer
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