pub struct EventsArgs {
pub after: Option<i64>,
pub tail: Option<u32>,
pub limit: Option<u32>,
pub scope: Option<String>,
}Expand description
A cursor-paginated read of the activity feed. after resumes from a
previously returned cursor; tail starts that many events before the
newest one and wins when both are given. One page per request — clients
stream by polling with the returned cursor.
scope narrows the feed to one reference, resolved by the daemon exactly
as show resolves it, so thin clients never reimplement that ladder. The
returned next_cursor still advances across filtered-out rows, so a scoped
watcher does not rescan the feed when its scope matches nothing.
Fields§
§after: Option<i64>§tail: Option<u32>§limit: Option<u32>§scope: Option<String>Trait Implementations§
Source§impl Clone for EventsArgs
impl Clone for EventsArgs
Source§fn clone(&self) -> EventsArgs
fn clone(&self) -> EventsArgs
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 EventsArgs
impl Debug for EventsArgs
Source§impl Default for EventsArgs
impl Default for EventsArgs
Source§fn default() -> EventsArgs
fn default() -> EventsArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventsArgs
impl<'de> Deserialize<'de> for EventsArgs
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 EventsArgs
Source§impl PartialEq for EventsArgs
impl PartialEq for EventsArgs
Source§impl Serialize for EventsArgs
impl Serialize for EventsArgs
impl StructuralPartialEq for EventsArgs
Auto Trait Implementations§
impl Freeze for EventsArgs
impl RefUnwindSafe for EventsArgs
impl Send for EventsArgs
impl Sync for EventsArgs
impl Unpin for EventsArgs
impl UnsafeUnpin for EventsArgs
impl UnwindSafe for EventsArgs
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.