pub struct ScriptStep {
pub step: Step,
pub annotations: Map<String, Value>,
}Expand description
A typed operation and its non-protocol fields (platform gates, gallery metadata, etc.).
Annotations survive document round trips but are not part of crate::Request.
Fields§
§step: Step§annotations: Map<String, Value>Implementations§
Source§impl ScriptStep
impl ScriptStep
Sourcepub fn from_value(value: Value) -> Result<Self, FormatError>
pub fn from_value(value: Value) -> Result<Self, FormatError>
Accept an on-disk single-key entry or the flattened JSON wire spelling. Unknown parameter fields are retained as annotations for forward compatibility.
Trait Implementations§
Source§impl Clone for ScriptStep
impl Clone for ScriptStep
Source§impl Debug for ScriptStep
impl Debug for ScriptStep
Source§impl From<Step> for ScriptStep
impl From<Step> for ScriptStep
Source§impl PartialEq for ScriptStep
impl PartialEq for ScriptStep
impl StructuralPartialEq for ScriptStep
Auto Trait Implementations§
impl Forget for ScriptStep
impl Freeze for ScriptStep
impl Move for ScriptStep
impl RefUnwindSafe for ScriptStep
impl Send for ScriptStep
impl Sync for ScriptStep
impl Unpin for ScriptStep
impl UnsafeUnpin for ScriptStep
impl UnwindSafe for ScriptStep
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