Struct wfrs_engine::state::ArchivedState
source · pub struct ArchivedStatewhere
i32: Archive,
Vec<i32>: Archive,
JsonValue: Archive,
bool: Archive,
Option<String>: Archive,
Option<i64>: Archive,{Show 13 fields
pub active: Archived<i32>,
pub current_tasks: Archived<Vec<i32>>,
pub current_flows: Archived<Vec<i32>>,
pub visited_tasks: Archived<Vec<i32>>,
pub visited_flows: Archived<Vec<i32>>,
pub pending_tasks: Archived<Vec<i32>>,
pub maybe_future_tasks: Archived<Vec<i32>>,
pub maybe_future_flows: Archived<Vec<i32>>,
pub maybe_visited_tasks: Archived<Vec<i32>>,
pub variables: Archived<JsonValue>,
pub completed: Archived<bool>,
pub remote_id: Archived<Option<String>>,
pub remote_version: Archived<Option<i64>>,
}Expand description
An archived State
Fields§
§active: Archived<i32>The archived counterpart of State::active
current_tasks: Archived<Vec<i32>>The archived counterpart of State::current_tasks
current_flows: Archived<Vec<i32>>The archived counterpart of State::current_flows
visited_tasks: Archived<Vec<i32>>The archived counterpart of State::visited_tasks
visited_flows: Archived<Vec<i32>>The archived counterpart of State::visited_flows
pending_tasks: Archived<Vec<i32>>The archived counterpart of State::pending_tasks
maybe_future_tasks: Archived<Vec<i32>>The archived counterpart of State::maybe_future_tasks
maybe_future_flows: Archived<Vec<i32>>The archived counterpart of State::maybe_future_flows
maybe_visited_tasks: Archived<Vec<i32>>The archived counterpart of State::maybe_visited_tasks
variables: Archived<JsonValue>The archived counterpart of State::variables
completed: Archived<bool>The archived counterpart of State::completed
remote_id: Archived<Option<String>>The archived counterpart of State::remote_id
remote_version: Archived<Option<i64>>The archived counterpart of State::remote_version
Auto Trait Implementations§
impl RefUnwindSafe for ArchivedState
impl Send for ArchivedState
impl Sync for ArchivedState
impl !Unpin for ArchivedState
impl UnwindSafe for ArchivedState
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.