pub struct FileVersion {
pub current_version: Vec<String>,
pub parents: Vec<String>,
pub content_hash: Option<String>,
}Fields§
§current_version: Vec<String>§parents: Vec<String>§content_hash: Option<String>Content hash for this version (SHA-256).
Trait Implementations§
Source§impl Clone for FileVersion
impl Clone for FileVersion
Source§fn clone(&self) -> FileVersion
fn clone(&self) -> FileVersion
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 FileVersion
impl Debug for FileVersion
Source§impl<'de> Deserialize<'de> for FileVersion
impl<'de> Deserialize<'de> for FileVersion
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 FileVersion
impl RefUnwindSafe for FileVersion
impl Send for FileVersion
impl Sync for FileVersion
impl Unpin for FileVersion
impl UnwindSafe for FileVersion
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