Struct SopMeta
pub struct SopMeta {
pub name: String,
pub description: String,
pub version: String,
pub priority: SopPriority,
pub execution_mode: Option<SopExecutionMode>,
pub cooldown_secs: u64,
pub max_concurrent: u32,
pub deterministic: bool,
pub admission_policy: SopAdmissionPolicy,
pub max_pending_approvals: u32,
pub agent: Option<String>,
}Expand description
The [sop] table in SOP.toml.
Fields§
§name: String§description: String§version: String§priority: SopPriority§execution_mode: Option<SopExecutionMode>§cooldown_secs: u64§max_concurrent: u32§deterministic: boolOpt-in deterministic execution (no LLM round-trips between steps).
admission_policy: SopAdmissionPolicyConcurrent-trigger admission policy (parallel | hold | coalesce | drop).
max_pending_approvals: u32Max runs parked at a HITL approval at once (0 = unlimited).
agent: Option<String>Parent agent alias that owns the procedure. Steps run as this agent unless a step overrides it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SopMeta
impl<'de> Deserialize<'de> for SopMeta
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SopMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SopMeta, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SopMeta
impl Serialize for SopMeta
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SopMeta
impl RefUnwindSafe for SopMeta
impl Send for SopMeta
impl Sync for SopMeta
impl Unpin for SopMeta
impl UnsafeUnpin for SopMeta
impl UnwindSafe for SopMeta
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more