pub struct AgentRegistrySpawnValidationError {
pub field: Option<AgentRegistrySpawnValidationErrorField>,
pub kind: AgentRegistrySpawnValidationErrorKind,
pub message: String,
pub reason: AgentRegistrySpawnValidationErrorReason,
}Expand description
Synchronous pre-validation rejected the spawn request.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§field: Option<AgentRegistrySpawnValidationErrorField>Which parameter field was invalid. Omitted when the rejection is not field-specific.
kind: AgentRegistrySpawnValidationErrorKindDiscriminator: synchronous pre-validation rejected the request
message: StringHuman-readable explanation; safe to surface in the UI banner. Never logged to unrestricted telemetry.
reason: AgentRegistrySpawnValidationErrorReasonCategorized reason for the rejection. Low-cardinality enum so telemetry can aggregate by reason without leaking raw paths or agent/model names.
Trait Implementations§
Source§impl Clone for AgentRegistrySpawnValidationError
impl Clone for AgentRegistrySpawnValidationError
Source§fn clone(&self) -> AgentRegistrySpawnValidationError
fn clone(&self) -> AgentRegistrySpawnValidationError
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 Default for AgentRegistrySpawnValidationError
impl Default for AgentRegistrySpawnValidationError
Source§fn default() -> AgentRegistrySpawnValidationError
fn default() -> AgentRegistrySpawnValidationError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentRegistrySpawnValidationError
impl<'de> Deserialize<'de> for AgentRegistrySpawnValidationError
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 AgentRegistrySpawnValidationError
impl RefUnwindSafe for AgentRegistrySpawnValidationError
impl Send for AgentRegistrySpawnValidationError
impl Sync for AgentRegistrySpawnValidationError
impl Unpin for AgentRegistrySpawnValidationError
impl UnsafeUnpin for AgentRegistrySpawnValidationError
impl UnwindSafe for AgentRegistrySpawnValidationError
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