#[non_exhaustive]pub struct ReadRequest {
pub after: Option<Cursor>,
pub limit: Option<u32>,
}Expand description
Request of usage.steps.read. Both members are optional and also accept
null; any other member is refused malformed, and so does this type.
Without after, the read starts at the oldest row the feed still holds
(the rows committed in the last 24 hours). limit defaults to 200; 0 is
refused invalid_request and above 1,000 range_too_large. This type
does not check limit: the provider does.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.after: Option<Cursor>§limit: Option<u32>Implementations§
Trait Implementations§
Source§impl Clone for ReadRequest
impl Clone for ReadRequest
Source§impl Debug for ReadRequest
impl Debug for ReadRequest
Source§impl Default for ReadRequest
impl Default for ReadRequest
Source§impl<'de> Deserialize<'de> for ReadRequest
impl<'de> Deserialize<'de> for ReadRequest
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 ReadRequest
Source§impl PartialEq for ReadRequest
impl PartialEq for ReadRequest
Source§impl Serialize for ReadRequest
impl Serialize for ReadRequest
impl StructuralPartialEq for ReadRequest
Auto Trait Implementations§
impl Freeze for ReadRequest
impl RefUnwindSafe for ReadRequest
impl Send for ReadRequest
impl Sync for ReadRequest
impl Unpin for ReadRequest
impl UnsafeUnpin for ReadRequest
impl UnwindSafe for ReadRequest
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