pub struct PostingChangesCursor {
pub since: String,
pub version: Option<String>,
pub page: Option<String>,
pub per_page: Option<String>,
}Expand description
Where a read of a box’s changes feed starts.
since is an ISO 8601 timestamp with milliseconds and is exclusive; version is the
contract version the caller speaks. A box’s posting_changes_url carries the pair to
begin with — read it with PostingChangesCursor::from_url rather than picking the
query apart.
Fields§
§since: StringThe instant the changes come after.
version: Option<String>The contract version the feed speaks, HEY’s v.
page: Option<String>The page within an increment, while it has more than one.
per_page: Option<String>How many changes a page holds, when the URL named a size.
Implementations§
Trait Implementations§
Source§impl Clone for PostingChangesCursor
impl Clone for PostingChangesCursor
Source§fn clone(&self) -> PostingChangesCursor
fn clone(&self) -> PostingChangesCursor
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 PostingChangesCursor
impl Debug for PostingChangesCursor
Source§impl Default for PostingChangesCursor
impl Default for PostingChangesCursor
Source§fn default() -> PostingChangesCursor
fn default() -> PostingChangesCursor
Returns the “default value” for a type. Read more
impl Eq for PostingChangesCursor
Source§impl PartialEq for PostingChangesCursor
impl PartialEq for PostingChangesCursor
impl StructuralPartialEq for PostingChangesCursor
Auto Trait Implementations§
impl Freeze for PostingChangesCursor
impl RefUnwindSafe for PostingChangesCursor
impl Send for PostingChangesCursor
impl Sync for PostingChangesCursor
impl Unpin for PostingChangesCursor
impl UnsafeUnpin for PostingChangesCursor
impl UnwindSafe for PostingChangesCursor
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.