pub struct SpawnDirective {
pub agent_type: String,
pub agent_name: String,
pub script: Option<String>,
pub description: Option<String>,
pub config: Option<Value>,
}Expand description
Parsed content of a <spawn> block.
Fields§
§agent_type: String§agent_name: String§script: Option<String>§description: Option<String>§config: Option<Value>Trait Implementations§
Source§impl Clone for SpawnDirective
impl Clone for SpawnDirective
Source§fn clone(&self) -> SpawnDirective
fn clone(&self) -> SpawnDirective
Returns a duplicate of the value. Read more
1.0.0 · 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 SpawnDirective
impl Debug for SpawnDirective
Source§impl<'de> Deserialize<'de> for SpawnDirective
impl<'de> Deserialize<'de> for SpawnDirective
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
Auto Trait Implementations§
impl Freeze for SpawnDirective
impl RefUnwindSafe for SpawnDirective
impl Send for SpawnDirective
impl Sync for SpawnDirective
impl Unpin for SpawnDirective
impl UnwindSafe for SpawnDirective
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