pub struct ResolutionRecord {
pub instance: InstanceId,
pub response: ResponseId,
pub idempotency_key: IdempotencyKey,
}Expand description
What a caller asks a store to persist: this response, resolving this offer, under this key.
Ids only. The store is a resolver, not a second copy of the record.
Fields§
§instance: InstanceIdThe offer being resolved.
response: ResponseIdThe response resolving it — already validated by
validate_response.
idempotency_key: IdempotencyKeyThe caller’s replay key for this submission.
Trait Implementations§
Source§impl Clone for ResolutionRecord
impl Clone for ResolutionRecord
Source§impl Debug for ResolutionRecord
impl Debug for ResolutionRecord
impl Eq for ResolutionRecord
Source§impl PartialEq for ResolutionRecord
impl PartialEq for ResolutionRecord
impl StructuralPartialEq for ResolutionRecord
Auto Trait Implementations§
impl Freeze for ResolutionRecord
impl RefUnwindSafe for ResolutionRecord
impl Send for ResolutionRecord
impl Sync for ResolutionRecord
impl Unpin for ResolutionRecord
impl UnsafeUnpin for ResolutionRecord
impl UnwindSafe for ResolutionRecord
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