pub struct QueryPageRequest {
pub req_id: u64,
pub fragment: u32,
pub sql: String,
pub after_key: String,
pub continuation: bool,
pub revision: u64,
pub snapshot_time_ms: u64,
pub incarnation: u64,
pub max_rows: u32,
pub max_bytes: u32,
pub max_visits: u32,
pub verify_only: bool,
}Expand description
Bounded declarative query traversal. Continuations pin one holder incarnation, revision, and TTL observation time. SQL is validated as data, never executed code.
Fields§
§req_id: u64§fragment: u32§sql: String§after_key: String§continuation: bool§revision: u64§snapshot_time_ms: u64§incarnation: u64§max_rows: u32§max_bytes: u32§max_visits: u32§verify_only: boolTrait Implementations§
Source§impl Clone for QueryPageRequest
impl Clone for QueryPageRequest
Source§impl Debug for QueryPageRequest
impl Debug for QueryPageRequest
Source§impl Default for QueryPageRequest
impl Default for QueryPageRequest
impl Eq for QueryPageRequest
Source§impl Hash for QueryPageRequest
impl Hash for QueryPageRequest
Source§impl Message for QueryPageRequest
impl Message for QueryPageRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for QueryPageRequest
impl PartialEq for QueryPageRequest
impl StructuralPartialEq for QueryPageRequest
Auto Trait Implementations§
impl Freeze for QueryPageRequest
impl RefUnwindSafe for QueryPageRequest
impl Send for QueryPageRequest
impl Sync for QueryPageRequest
impl Unpin for QueryPageRequest
impl UnsafeUnpin for QueryPageRequest
impl UnwindSafe for QueryPageRequest
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