#[non_exhaustive]pub struct DefinitionKeys {
pub workflow: &'static [&'static str],
pub task: &'static [&'static str],
pub group: &'static [&'static str],
pub loop: &'static [&'static str],
pub for_each: &'static [&'static str],
pub rollout: &'static [&'static str],
pub function: &'static [&'static str],
}Expand description
The known keys at each level of a definition, as the reader, the walk and the serializer read them. A tool that shows definitions — the debugger reads it through the wasm package — holds its own view to these rather than keeping a copy that drifts when a key is added.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.workflow: &'static [&'static str]A workflow’s keys.
task: &'static [&'static str]A task’s keys.
group: &'static [&'static str]A group’s keys.
loop: &'static [&'static str]A workflow loop’s keys.
for_each: &'static [&'static str]A task for_each’s keys.
rollout: &'static [&'static str]A workflow rollout’s keys.
function: &'static [&'static str]A function reference’s keys.
Trait Implementations§
Source§impl Clone for DefinitionKeys
impl Clone for DefinitionKeys
impl Copy for DefinitionKeys
Source§impl Debug for DefinitionKeys
impl Debug for DefinitionKeys
Auto Trait Implementations§
impl Freeze for DefinitionKeys
impl RefUnwindSafe for DefinitionKeys
impl Send for DefinitionKeys
impl Sync for DefinitionKeys
impl Unpin for DefinitionKeys
impl UnsafeUnpin for DefinitionKeys
impl UnwindSafe for DefinitionKeys
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