pub struct ConsumedTokenRecord {
pub consumed: bool,
pub result_ref: Option<String>,
pub binding_ok: bool,
}Expand description
A consumed token record with an optional replay reference.
Fields§
§consumed: boolWhether the token has been consumed.
result_ref: Option<String>Optional result reference for idempotency replay (RFC-007 §4,
set_result). None if the result was not yet stored.
binding_ok: boolWhether the binding checked in the consume WHERE clause matched.
Trait Implementations§
Source§impl Clone for ConsumedTokenRecord
impl Clone for ConsumedTokenRecord
Source§fn clone(&self) -> ConsumedTokenRecord
fn clone(&self) -> ConsumedTokenRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConsumedTokenRecord
impl RefUnwindSafe for ConsumedTokenRecord
impl Send for ConsumedTokenRecord
impl Sync for ConsumedTokenRecord
impl Unpin for ConsumedTokenRecord
impl UnsafeUnpin for ConsumedTokenRecord
impl UnwindSafe for ConsumedTokenRecord
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