pub struct ArtifactVersion {
pub n: u32,
pub path: String,
pub created_at: i64,
pub note: String,
pub size: u64,
pub turn: String,
}Expand description
One saved version of an artifact.
Fields§
§n: u321, 2, 3… (never reused).
path: StringWorkspace-relative path of this version’s file.
created_at: i64Milliseconds since the Unix epoch.
note: StringWhat changed, in the model’s words (“button is blue now”).
size: u64§turn: StringThe request (turn) that saved it: later saves in the same request overwrite it instead of adding versions (13.13; empty for older versions and saves without one).
Trait Implementations§
Source§impl Clone for ArtifactVersion
impl Clone for ArtifactVersion
Source§impl Debug for ArtifactVersion
impl Debug for ArtifactVersion
Source§impl<'de> Deserialize<'de> for ArtifactVersion
impl<'de> Deserialize<'de> for ArtifactVersion
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 Eq for ArtifactVersion
Source§impl PartialEq for ArtifactVersion
impl PartialEq for ArtifactVersion
Source§impl Serialize for ArtifactVersion
impl Serialize for ArtifactVersion
impl StructuralPartialEq for ArtifactVersion
Auto Trait Implementations§
impl Forget for ArtifactVersion
impl Freeze for ArtifactVersion
impl Move for ArtifactVersion
impl RefUnwindSafe for ArtifactVersion
impl Send for ArtifactVersionwhere
RawVecInner: Send,
impl Sync for ArtifactVersionwhere
RawVecInner: Sync,
impl Unpin for ArtifactVersion
impl UnsafeUnpin for ArtifactVersion
impl UnwindSafe for ArtifactVersionwhere
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