pub struct Artifact {
pub id: String,
pub name: String,
pub mime: String,
pub size: u64,
pub sha256: String,
pub content: Value,
pub created_by: Option<String>,
pub sensitive: bool,
pub created: u64,
pub owner: Option<String>,
}Fields§
§id: String§name: String§mime: String§size: u64§sha256: String§content: Value§created_by: Option<String>§sensitive: bool§created: u64§owner: Option<String>The A2A task / run this artifact belongs to (delivery target).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Artifact
impl<'de> Deserialize<'de> for Artifact
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
impl StructuralPartialEq for Artifact
Auto Trait Implementations§
impl Freeze for Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnsafeUnpin for Artifact
impl UnwindSafe for Artifact
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