Struct QueueState
pub struct QueueState {
pub workflow: String,
pub key: String,
pub open: Option<Window>,
pub seen: VecDeque<Seen>,
pub started: u64,
/* private fields */
}Expand description
A coordinator’s state, carried across continue-as-new.
Fields§
§workflow: StringThe workflow type each window starts.
key: String§open: Option<Window>§seen: VecDeque<Seen>Remembered event IDs, oldest first.
started: u64Runs this coordinator and its predecessors (since continue-as-new) started.
Trait Implementations§
§impl Clone for QueueState
impl Clone for QueueState
§fn clone(&self) -> QueueState
fn clone(&self) -> QueueState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for QueueState
impl Debug for QueueState
§impl Default for QueueState
impl Default for QueueState
§fn default() -> QueueState
fn default() -> QueueState
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for QueueStatewhere
QueueState: Default,
impl<'de> Deserialize<'de> for QueueStatewhere
QueueState: Default,
§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 PartialEq for QueueState
impl PartialEq for QueueState
§impl Serialize for QueueState
impl Serialize for QueueState
impl StructuralPartialEq for QueueState
Auto Trait Implementations§
impl Freeze for QueueState
impl RefUnwindSafe for QueueState
impl Send for QueueState
impl Sync for QueueState
impl Unpin for QueueState
impl UnsafeUnpin for QueueState
impl UnwindSafe for QueueState
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