pub struct MostRecentMeta {
pub start_offset: Option<usize>,
}Expand description
Request [RecordMeta] for records by server timestamp, in reverse order.
Simply speaking, this is a way to see the most recetnly added records,
with the newest first.
Returns None if there are no records after the requested row index
(for example, if the client has already paged through all results).
Fields§
§start_offset: Option<usize>0-based index (not row ID!) at which to start returning records.
Trait Implementations§
Source§impl Channels<OmryProtocol> for MostRecentMeta
impl Channels<OmryProtocol> for MostRecentMeta
Source§impl Debug for MostRecentMeta
impl Debug for MostRecentMeta
Source§impl<'de> Deserialize<'de> for MostRecentMeta
impl<'de> Deserialize<'de> for MostRecentMeta
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
Source§impl From<MostRecentMeta> for OmryProtocol
impl From<MostRecentMeta> for OmryProtocol
Source§fn from(value: MostRecentMeta) -> Self
fn from(value: MostRecentMeta) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MostRecentMeta
impl RefUnwindSafe for MostRecentMeta
impl Send for MostRecentMeta
impl Sync for MostRecentMeta
impl Unpin for MostRecentMeta
impl UnsafeUnpin for MostRecentMeta
impl UnwindSafe for MostRecentMeta
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreSource§impl<'de, T> Marshal<'de> for Twhere
T: Serialize + Deserialize<'de>,
impl<'de, T> Marshal<'de> for Twhere
T: Serialize + Deserialize<'de>,
Source§fn to_byte_vec(&self) -> Result<Vec<u8>, MarshalError>
fn to_byte_vec(&self) -> Result<Vec<u8>, MarshalError>
Attempts to serialize (marshal) to a byte vec. Read more
Source§fn from_bytes(bytes: &'de [u8]) -> Result<Self, MarshalError>
fn from_bytes(bytes: &'de [u8]) -> Result<Self, MarshalError>
Attempts to deserialize (unmarshal) from a byte slice. Read more