pub struct KeysetCursor {
pub at: DateTime<Utc>,
pub id: Uuid,
}Expand description
A feed position, encoded as base64url of <rfc3339 micros>|<uuid>.
Fields§
§at: DateTime<Utc>§id: UuidImplementations§
Trait Implementations§
Source§impl Clone for KeysetCursor
impl Clone for KeysetCursor
impl Copy for KeysetCursor
Source§impl Debug for KeysetCursor
impl Debug for KeysetCursor
Source§impl<'de> Deserialize<'de> for KeysetCursor
impl<'de> Deserialize<'de> for KeysetCursor
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for KeysetCursor
impl Display for KeysetCursor
impl Eq for KeysetCursor
Source§impl FromStr for KeysetCursor
impl FromStr for KeysetCursor
Source§impl Hash for KeysetCursor
impl Hash for KeysetCursor
Source§impl JsonSchema for KeysetCursor
impl JsonSchema for KeysetCursor
Source§fn json_schema(_generator: &mut SchemaGenerator) -> Schema
fn json_schema(_generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for KeysetCursor
impl PartialEq for KeysetCursor
Source§impl Serialize for KeysetCursor
impl Serialize for KeysetCursor
impl StructuralPartialEq for KeysetCursor
Auto Trait Implementations§
impl Freeze for KeysetCursor
impl RefUnwindSafe for KeysetCursor
impl Send for KeysetCursor
impl Sync for KeysetCursor
impl Unpin for KeysetCursor
impl UnsafeUnpin for KeysetCursor
impl UnwindSafe for KeysetCursor
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more