pub struct BinaryIndexEntry {
pub path: String,
pub hash: String,
pub mode: String,
pub size: u64,
pub mtime: i64,
}Expand description
Binary index entry — fixed-format, fast load/save replacement for JSON index
Fields§
§path: String§hash: String§mode: String§size: u64File size in bytes
mtime: i64Modification timestamp (unix epoch)
Trait Implementations§
Source§impl Clone for BinaryIndexEntry
impl Clone for BinaryIndexEntry
Source§fn clone(&self) -> BinaryIndexEntry
fn clone(&self) -> BinaryIndexEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BinaryIndexEntry
impl Debug for BinaryIndexEntry
Source§impl<'de> Deserialize<'de> for BinaryIndexEntry
impl<'de> Deserialize<'de> for BinaryIndexEntry
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 BinaryIndexEntry
impl RefUnwindSafe for BinaryIndexEntry
impl Send for BinaryIndexEntry
impl Sync for BinaryIndexEntry
impl Unpin for BinaryIndexEntry
impl UnsafeUnpin for BinaryIndexEntry
impl UnwindSafe for BinaryIndexEntry
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