pub struct ValidatedTool {Show 13 fields
pub name: String,
pub description: Option<String>,
pub source: SkillSource,
pub inputs: BTreeMap<String, SkillInput>,
pub scopes: Vec<String>,
pub risk: Option<JsonValue>,
pub runtime: Option<JsonValue>,
pub retry: Option<SkillRetryPolicy>,
pub idempotency: Option<SkillIdempotencyPolicy>,
pub mutating: Option<bool>,
pub artifacts: Option<SkillArtifactContract>,
pub runx: Option<JsonObject>,
pub raw: RawToolManifestIr,
}Fields§
§name: String§description: Option<String>§source: SkillSource§inputs: BTreeMap<String, SkillInput>§scopes: Vec<String>§risk: Option<JsonValue>§runtime: Option<JsonValue>§retry: Option<SkillRetryPolicy>§idempotency: Option<SkillIdempotencyPolicy>§mutating: Option<bool>§artifacts: Option<SkillArtifactContract>§runx: Option<JsonObject>§raw: RawToolManifestIrTrait Implementations§
Source§impl Clone for ValidatedTool
impl Clone for ValidatedTool
Source§fn clone(&self) -> ValidatedTool
fn clone(&self) -> ValidatedTool
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 ValidatedTool
impl Debug for ValidatedTool
Source§impl<'de> Deserialize<'de> for ValidatedTool
impl<'de> Deserialize<'de> for ValidatedTool
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
Source§impl PartialEq for ValidatedTool
impl PartialEq for ValidatedTool
Source§fn eq(&self, other: &ValidatedTool) -> bool
fn eq(&self, other: &ValidatedTool) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValidatedTool
impl Serialize for ValidatedTool
impl StructuralPartialEq for ValidatedTool
Auto Trait Implementations§
impl Freeze for ValidatedTool
impl RefUnwindSafe for ValidatedTool
impl Send for ValidatedTool
impl Sync for ValidatedTool
impl Unpin for ValidatedTool
impl UnsafeUnpin for ValidatedTool
impl UnwindSafe for ValidatedTool
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