pub struct ExecutionGuidelines {
pub items: Vec<Guideline>,
pub dependency: Vec<String>,
}Fields§
§items: Vec<Guideline>§dependency: Vec<String>Ordering, one chain per entry: a -> b, or a -> b -> c.
Anything not named here has no predecessor and starts immediately, so two guidelines with no arrow between them run in parallel. That is the default on purpose: sequencing should be something you asked for.
Implementations§
Source§impl ExecutionGuidelines
impl ExecutionGuidelines
pub fn is_empty(&self) -> bool
pub fn get(&self, name: &str) -> Option<&Guideline>
pub fn names(&self) -> Vec<&str>
Trait Implementations§
Source§impl Clone for ExecutionGuidelines
impl Clone for ExecutionGuidelines
Source§impl Debug for ExecutionGuidelines
impl Debug for ExecutionGuidelines
Source§impl Default for ExecutionGuidelines
impl Default for ExecutionGuidelines
Source§impl<'de> Deserialize<'de> for ExecutionGuidelines
impl<'de> Deserialize<'de> for ExecutionGuidelines
Source§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
Source§impl JsonSchema for ExecutionGuidelines
impl JsonSchema for ExecutionGuidelines
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ExecutionGuidelines
impl RefUnwindSafe for ExecutionGuidelines
impl Send for ExecutionGuidelines
impl Sync for ExecutionGuidelines
impl Unpin for ExecutionGuidelines
impl UnsafeUnpin for ExecutionGuidelines
impl UnwindSafe for ExecutionGuidelines
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