pub struct A2aArtifact {
pub name: Option<String>,
pub parts: Vec<A2aPart>,
pub metadata: Option<HashMap<String, Value>>,
}Expand description
An A2A artifact.
Fields§
§name: Option<String>Artifact name.
parts: Vec<A2aPart>Parts composing this artifact.
metadata: Option<HashMap<String, Value>>Optional artifact-level metadata.
Trait Implementations§
Source§impl Clone for A2aArtifact
impl Clone for A2aArtifact
Source§fn clone(&self) -> A2aArtifact
fn clone(&self) -> A2aArtifact
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 A2aArtifact
impl Debug for A2aArtifact
Source§impl<'de> Deserialize<'de> for A2aArtifact
impl<'de> Deserialize<'de> for A2aArtifact
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 A2aArtifact
impl RefUnwindSafe for A2aArtifact
impl Send for A2aArtifact
impl Sync for A2aArtifact
impl Unpin for A2aArtifact
impl UnwindSafe for A2aArtifact
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