pub struct Read {
pub table: String,
pub after: Option<Value>,
pub sort: Option<String>,
pub filters: Map<String, Value>,
}Expand description
One read in a batch.
Fields§
§table: StringThe declared table.
after: Option<Value>Where the page starts — the next from a previous read of this
table, exactly as it was given.
sort: Option<String>sort=column or sort=-column, the same shape the query string
takes.
filters: Map<String, Value>Equality filters, keyed by column.
JSON values rather than the query string’s text, because a body can carry a number as a number. The column’s kind still decides whether the value is one it can be compared against.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Read
impl<'de> Deserialize<'de> for Read
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
Auto Trait Implementations§
impl Freeze for Read
impl RefUnwindSafe for Read
impl Send for Read
impl Sync for Read
impl Unpin for Read
impl UnsafeUnpin for Read
impl UnwindSafe for Read
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