pub struct SourceCursorV1 {
pub next_ordinal: SourceOrdinal,
pub resume_token: Vec<u8>,
}Fields§
§next_ordinal: SourceOrdinalExclusive position: the next record the provider must return.
resume_token: Vec<u8>Provider-owned opaque resume material. It is metadata, never a secret.
Implementations§
Source§impl SourceCursorV1
impl SourceCursorV1
pub fn validate(&self) -> Result<(), SourceContractError>
Trait Implementations§
Source§impl Clone for SourceCursorV1
impl Clone for SourceCursorV1
Source§impl Debug for SourceCursorV1
impl Debug for SourceCursorV1
Source§impl<'de> Deserialize<'de> for SourceCursorV1
impl<'de> Deserialize<'de> for SourceCursorV1
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 SourceCursorV1
Source§impl PartialEq for SourceCursorV1
impl PartialEq for SourceCursorV1
Source§impl Serialize for SourceCursorV1
impl Serialize for SourceCursorV1
impl StructuralPartialEq for SourceCursorV1
Auto Trait Implementations§
impl Freeze for SourceCursorV1
impl RefUnwindSafe for SourceCursorV1
impl Send for SourceCursorV1
impl Sync for SourceCursorV1
impl Unpin for SourceCursorV1
impl UnsafeUnpin for SourceCursorV1
impl UnwindSafe for SourceCursorV1
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