pub struct CalendarChangesCursor {
pub since: Option<String>,
pub version: Option<String>,
pub page: Option<String>,
pub per_page: Option<String>,
}Expand description
Where a read of a changes feed starts. since is an ISO 8601 timestamp with
milliseconds and is exclusive; version is the contract version the caller speaks.
Build one with CalendarChangesCursor::from_url rather than by hand. The two
server-issued URLs differ — a recording changes URL carries v=1, which the recording
feed refuses to answer without, while a calendar changes URL carries no version at all —
so only the server knows which pair its feed wants.
Fields§
§since: Option<String>The 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 CalendarChangesCursor
impl Clone for CalendarChangesCursor
Source§fn clone(&self) -> CalendarChangesCursor
fn clone(&self) -> CalendarChangesCursor
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 CalendarChangesCursor
impl Debug for CalendarChangesCursor
impl Eq for CalendarChangesCursor
Source§impl PartialEq for CalendarChangesCursor
impl PartialEq for CalendarChangesCursor
impl StructuralPartialEq for CalendarChangesCursor
Auto Trait Implementations§
impl Freeze for CalendarChangesCursor
impl RefUnwindSafe for CalendarChangesCursor
impl Send for CalendarChangesCursor
impl Sync for CalendarChangesCursor
impl Unpin for CalendarChangesCursor
impl UnsafeUnpin for CalendarChangesCursor
impl UnwindSafe for CalendarChangesCursor
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.