Struct wfrs_model::WorkflowDefinition
source · pub struct WorkflowDefinition {
pub version: Arc<str>,
pub id: Arc<str>,
pub start_event: i32,
pub parent: Option<Arc<WorkflowDefinition>>,
pub flows: Arc<[Flow]>,
pub flow_ids: Arc<[Arc<str>]>,
pub tasks: Arc<[Task]>,
pub task_ids: Arc<[Arc<str>]>,
pub children: Option<Arc<[WorkflowDefinition]>>,
pub options: Option<WorkflowProperties>,
}Fields§
§version: Arc<str>§id: Arc<str>§start_event: i32§parent: Option<Arc<WorkflowDefinition>>§flows: Arc<[Flow]>§flow_ids: Arc<[Arc<str>]>§tasks: Arc<[Task]>§task_ids: Arc<[Arc<str>]>§children: Option<Arc<[WorkflowDefinition]>>§options: Option<WorkflowProperties>Implementations§
Trait Implementations§
source§impl Archive for WorkflowDefinition
impl Archive for WorkflowDefinition
§type Archived = ArchivedWorkflowDefinition
type Archived = ArchivedWorkflowDefinition
The archived representation of this type. Read more
§type Resolver = WorkflowDefinitionResolver
type Resolver = WorkflowDefinitionResolver
The resolver for this type. It must contain all the additional information from serializing
needed to make the archived type from the normal type.
source§impl Debug for WorkflowDefinition
impl Debug for WorkflowDefinition
source§impl<__D> Deserialize<WorkflowDefinition, __D> for Archived<WorkflowDefinition>where
__D: SharedDeserializeRegistry + Fallible + ?Sized,
Arc<str>: Archive,
Archived<Arc<str>>: Deserialize<Arc<str>, __D>,
i32: Archive,
Archived<i32>: Deserialize<i32, __D>,
Arc<[Flow]>: Archive,
Archived<Arc<[Flow]>>: Deserialize<Arc<[Flow]>, __D>,
Arc<[Arc<str>]>: Archive,
Archived<Arc<[Arc<str>]>>: Deserialize<Arc<[Arc<str>]>, __D>,
Arc<[Task]>: Archive,
Archived<Arc<[Task]>>: Deserialize<Arc<[Task]>, __D>,
Option<WorkflowProperties>: Archive,
Archived<Option<WorkflowProperties>>: Deserialize<Option<WorkflowProperties>, __D>,
impl<__D> Deserialize<WorkflowDefinition, __D> for Archived<WorkflowDefinition>where
__D: SharedDeserializeRegistry + Fallible + ?Sized,
Arc<str>: Archive,
Archived<Arc<str>>: Deserialize<Arc<str>, __D>,
i32: Archive,
Archived<i32>: Deserialize<i32, __D>,
Arc<[Flow]>: Archive,
Archived<Arc<[Flow]>>: Deserialize<Arc<[Flow]>, __D>,
Arc<[Arc<str>]>: Archive,
Archived<Arc<[Arc<str>]>>: Deserialize<Arc<[Arc<str>]>, __D>,
Arc<[Task]>: Archive,
Archived<Arc<[Task]>>: Deserialize<Arc<[Task]>, __D>,
Option<WorkflowProperties>: Archive,
Archived<Option<WorkflowProperties>>: Deserialize<Option<WorkflowProperties>, __D>,
source§fn deserialize(
&self,
deserializer: &mut __D
) -> Result<WorkflowDefinition, __D::Error>
fn deserialize( &self, deserializer: &mut __D ) -> Result<WorkflowDefinition, __D::Error>
Deserializes using the given deserializer
source§impl PartialEq<ArchivedWorkflowDefinition> for WorkflowDefinitionwhere
Arc<str>: Archive,
i32: Archive,
Arc<[Flow]>: Archive,
Arc<[Arc<str>]>: Archive,
Arc<[Task]>: Archive,
Option<WorkflowProperties>: Archive,
Archived<Arc<str>>: PartialEq<Arc<str>>,
Archived<i32>: PartialEq<i32>,
Archived<Arc<[Flow]>>: PartialEq<Arc<[Flow]>>,
Archived<Arc<[Arc<str>]>>: PartialEq<Arc<[Arc<str>]>>,
Archived<Arc<[Task]>>: PartialEq<Arc<[Task]>>,
Archived<Option<WorkflowProperties>>: PartialEq<Option<WorkflowProperties>>,
impl PartialEq<ArchivedWorkflowDefinition> for WorkflowDefinitionwhere
Arc<str>: Archive,
i32: Archive,
Arc<[Flow]>: Archive,
Arc<[Arc<str>]>: Archive,
Arc<[Task]>: Archive,
Option<WorkflowProperties>: Archive,
Archived<Arc<str>>: PartialEq<Arc<str>>,
Archived<i32>: PartialEq<i32>,
Archived<Arc<[Flow]>>: PartialEq<Arc<[Flow]>>,
Archived<Arc<[Arc<str>]>>: PartialEq<Arc<[Arc<str>]>>,
Archived<Arc<[Task]>>: PartialEq<Arc<[Task]>>,
Archived<Option<WorkflowProperties>>: PartialEq<Option<WorkflowProperties>>,
source§fn eq(&self, other: &ArchivedWorkflowDefinition) -> bool
fn eq(&self, other: &ArchivedWorkflowDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq<WorkflowDefinition> for ArchivedWorkflowDefinitionwhere
Arc<str>: Archive,
i32: Archive,
Arc<[Flow]>: Archive,
Arc<[Arc<str>]>: Archive,
Arc<[Task]>: Archive,
Option<WorkflowProperties>: Archive,
Archived<Arc<str>>: PartialEq<Arc<str>>,
Archived<i32>: PartialEq<i32>,
Archived<Arc<[Flow]>>: PartialEq<Arc<[Flow]>>,
Archived<Arc<[Arc<str>]>>: PartialEq<Arc<[Arc<str>]>>,
Archived<Arc<[Task]>>: PartialEq<Arc<[Task]>>,
Archived<Option<WorkflowProperties>>: PartialEq<Option<WorkflowProperties>>,
impl PartialEq<WorkflowDefinition> for ArchivedWorkflowDefinitionwhere
Arc<str>: Archive,
i32: Archive,
Arc<[Flow]>: Archive,
Arc<[Arc<str>]>: Archive,
Arc<[Task]>: Archive,
Option<WorkflowProperties>: Archive,
Archived<Arc<str>>: PartialEq<Arc<str>>,
Archived<i32>: PartialEq<i32>,
Archived<Arc<[Flow]>>: PartialEq<Arc<[Flow]>>,
Archived<Arc<[Arc<str>]>>: PartialEq<Arc<[Arc<str>]>>,
Archived<Arc<[Task]>>: PartialEq<Arc<[Task]>>,
Archived<Option<WorkflowProperties>>: PartialEq<Option<WorkflowProperties>>,
source§fn eq(&self, other: &WorkflowDefinition) -> bool
fn eq(&self, other: &WorkflowDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialEq for WorkflowDefinition
impl PartialEq for WorkflowDefinition
source§fn eq(&self, other: &WorkflowDefinition) -> bool
fn eq(&self, other: &WorkflowDefinition) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<__S> Serialize<__S> for WorkflowDefinition
impl<__S> Serialize<__S> for WorkflowDefinition
impl StructuralPartialEq for WorkflowDefinition
Auto Trait Implementations§
impl RefUnwindSafe for WorkflowDefinition
impl Send for WorkflowDefinition
impl Sync for WorkflowDefinition
impl Unpin for WorkflowDefinition
impl UnwindSafe for WorkflowDefinition
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> ArchiveUnsized for Twhere
T: Archive,
impl<T> ArchiveUnsized for Twhere
T: Archive,
§type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike
Archive, it may be unsized. Read more§type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
source§unsafe fn resolve_metadata(
&self,
_: usize,
_: <T as ArchiveUnsized>::MetadataResolver,
_: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
unsafe fn resolve_metadata( &self, _: usize, _: <T as ArchiveUnsized>::MetadataResolver, _: *mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata )
Creates the archived version of the metadata for this value at the given position and writes
it to the given output. Read more
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.