Struct Agent Artifact
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct AgentArtifact {
pub name: String,
pub kind: String,
pub path: PathBuf,
pub media_type: Option<String>,
pub extensions: BTreeMap<String, Value>,
}
One artifact produced by an adapter target.
Fields
name: String
Logical artifact name.
kind: String
Artifact kind.
path: PathBuf
Path relative to the artifact root supplied in RuntimeContext.
media_type: Option<String>
Optional media type.
extensions: BTreeMap<String, Value>
Adapter-owned artifact fields.
Trait Implementations
impl Clone for AgentArtifact
impl Clone for AgentArtifact
clone
fn clone(&self) -> AgentArtifact
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for AgentArtifact
impl Debug for AgentArtifact
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for AgentArtifact
impl<'de> Deserialize<'de> for AgentArtifact
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for AgentArtifact
impl JsonSchema for AgentArtifact
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for AgentArtifact
impl PartialEq for AgentArtifact
eq
fn eq(&self, other: &AgentArtifact) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for AgentArtifact
impl Serialize for AgentArtifact
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for AgentArtifact
impl StructuralPartialEq for AgentArtifact