pub struct ExportVersion {
pub version_number: u32,
pub content_hash: String,
pub created_at: String,
pub created_by: Option<String>,
pub changelog: Option<String>,
}Expand description
A single version snapshot in the export archive.
Fields§
§version_number: u32Monotonically increasing version number (starts at 0).
content_hash: StringSHA-256 hex of the uncompressed content at this version.
created_at: StringISO 8601 creation timestamp.
created_by: Option<String>Agent / user that authored this version.
changelog: Option<String>Human-readable changelog entry for this version.
Trait Implementations§
Source§impl Clone for ExportVersion
impl Clone for ExportVersion
Source§fn clone(&self) -> ExportVersion
fn clone(&self) -> ExportVersion
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 ExportVersion
impl Debug for ExportVersion
Source§impl<'de> Deserialize<'de> for ExportVersion
impl<'de> Deserialize<'de> for ExportVersion
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
Source§impl PartialEq for ExportVersion
impl PartialEq for ExportVersion
Source§impl Serialize for ExportVersion
impl Serialize for ExportVersion
impl StructuralPartialEq for ExportVersion
Auto Trait Implementations§
impl Freeze for ExportVersion
impl RefUnwindSafe for ExportVersion
impl Send for ExportVersion
impl Sync for ExportVersion
impl Unpin for ExportVersion
impl UnsafeUnpin for ExportVersion
impl UnwindSafe for ExportVersion
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