pub struct SourceBatch {
pub items: Vec<SourceItem>,
pub cursor: Option<String>,
}Expand description
The items found by one poll and where to resume.
Fields§
§items: Vec<SourceItem>Items that match the Operation’s filters, oldest change first.
cursor: Option<String>The cursor to present on the next poll; None keeps the stored one.
Trait Implementations§
Source§impl Clone for SourceBatch
impl Clone for SourceBatch
Source§impl Debug for SourceBatch
impl Debug for SourceBatch
impl Eq for SourceBatch
Source§impl FromValue for SourceBatch
impl FromValue for SourceBatch
Source§const KINDS: Kinds = ::guatiao::Kinds::MAP
const KINDS: Kinds = ::guatiao::Kinds::MAP
The kinds
from_value may accept; any
other is refused. Every impl in this crate and every derived one
says; the default, [Kinds::ANY], claims every kind, which keeps
a type that does not say out of an enum told apart by kind.Source§fn from_value(__value: &Value) -> Result<Self, MapError>
fn from_value(__value: &Value) -> Result<Self, MapError>
Performs the conversion. Read more
Source§impl FromWalk for SourceBatch
impl FromWalk for SourceBatch
Source§impl MapRead for SourceBatch
impl MapRead for SourceBatch
Source§impl PartialEq for SourceBatch
impl PartialEq for SourceBatch
Source§impl Schema for SourceBatch
impl Schema for SourceBatch
impl StructuralPartialEq for SourceBatch
Source§impl ToValue for SourceBatch
impl ToValue for SourceBatch
Auto Trait Implementations§
impl Freeze for SourceBatch
impl RefUnwindSafe for SourceBatch
impl Send for SourceBatch
impl Sync for SourceBatch
impl Unpin for SourceBatch
impl UnsafeUnpin for SourceBatch
impl UnwindSafe for SourceBatch
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