#[non_exhaustive]pub struct CheckpointOutput { /* private fields */ }Expand description
The output of a successful ExecutionClient::checkpoint call.
Implementations§
Source§impl CheckpointOutput
impl CheckpointOutput
Sourcepub fn new(
checkpoint_token: Option<String>,
updated_operations: Vec<Operation>,
next_marker: Option<String>,
) -> Self
pub fn new( checkpoint_token: Option<String>, updated_operations: Vec<Operation>, next_marker: Option<String>, ) -> Self
Creates a checkpoint output.
checkpoint_token is the token for the next request, or None when
the service returned none. next_marker is the pagination marker of
the returned state, or None when updated_operations is complete.
Sourcepub fn checkpoint_token(&self) -> Option<&str>
pub fn checkpoint_token(&self) -> Option<&str>
The token for the next request. An empty token reads as None.
Trait Implementations§
Source§impl Clone for CheckpointOutput
impl Clone for CheckpointOutput
Auto Trait Implementations§
impl Forget for CheckpointOutput
impl Freeze for CheckpointOutput
impl Move for CheckpointOutput
impl RefUnwindSafe for CheckpointOutput
impl Send for CheckpointOutput
impl Sync for CheckpointOutput
impl Unpin for CheckpointOutput
impl UnsafeUnpin for CheckpointOutput
impl UnwindSafe for CheckpointOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.