pub struct LivePage<Row> {
pub rows: Vec<Row>,
pub continuation: Option<String>,
pub work: ScalarPageWork,
}Expand description
One revision-tolerant bounded typed page.
Fields§
§rows: Vec<Row>Decoded typed rows returned by this page.
continuation: Option<String>Authenticated continuation, or None after proven exhaustion.
work: ScalarPageWorkBounded work observed while producing the page.
Implementations§
Trait Implementations§
Source§impl<Row: CandidType> CandidType for LivePage<Row>
impl<Row: CandidType> CandidType for LivePage<Row>
Source§impl<'de, Row> Deserialize<'de> for LivePage<Row>where
Row: Deserialize<'de>,
impl<'de, Row> Deserialize<'de> for LivePage<Row>where
Row: Deserialize<'de>,
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<Row: Eq> Eq for LivePage<Row>
impl<Row: PartialEq> StructuralPartialEq for LivePage<Row>
Auto Trait Implementations§
impl<Row> Freeze for LivePage<Row>
impl<Row> RefUnwindSafe for LivePage<Row>where
Vec<Row>: RefUnwindSafe,
impl<Row> Send for LivePage<Row>
impl<Row> Sync for LivePage<Row>
impl<Row> Unpin for LivePage<Row>
impl<Row> UnsafeUnpin for LivePage<Row>where
Vec<Row>: UnsafeUnpin,
impl<Row> UnwindSafe for LivePage<Row>where
Vec<Row>: UnwindSafe,
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
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.