pub struct Artifact {
pub id: String,
pub session: SessionId,
pub kind: ArtifactKind,
pub path: String,
pub note: String,
pub ts: u64,
}Expand description
Artifact shared by agent (file, branch, or diff).
Fields§
§id: String§session: SessionId§kind: ArtifactKind§path: String§note: String§ts: u64Trait 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
Auto Trait Implementations§
impl Forget for Artifact
impl Freeze for Artifact
impl Move for Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifactwhere
RawVecInner: Send,
impl Sync for Artifactwhere
RawVecInner: Sync,
impl Unpin for Artifact
impl UnsafeUnpin for Artifact
impl UnwindSafe for Artifactwhere
RawVecInner: UnwindSafe,
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