pub struct ActionSpec {
pub command: Option<String>,
pub long_running: bool,
pub signal: Option<String>,
pub captures: Vec<String>,
}Fields§
§command: Option<String>§long_running: bool§signal: Option<String>Signal sent by stop for a long-running sibling start.
captures: Vec<String>Names to read out of the command’s stdout and merge into this
resource’s binding exports — how a resource that mints an external
handle (a preview id, a tunnel URL) publishes it. See
parse_captures for the accepted output shapes.
Trait Implementations§
Source§impl Clone for ActionSpec
impl Clone for ActionSpec
Source§fn clone(&self) -> ActionSpec
fn clone(&self) -> ActionSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionSpec
impl Debug for ActionSpec
Source§impl<'de> Deserialize<'de> for ActionSpec
impl<'de> Deserialize<'de> for ActionSpec
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
impl Eq for ActionSpec
Source§impl PartialEq for ActionSpec
impl PartialEq for ActionSpec
impl StructuralPartialEq for ActionSpec
Auto Trait Implementations§
impl Freeze for ActionSpec
impl RefUnwindSafe for ActionSpec
impl Send for ActionSpec
impl Sync for ActionSpec
impl Unpin for ActionSpec
impl UnsafeUnpin for ActionSpec
impl UnwindSafe for ActionSpec
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