pub struct SnapshotEntry {
pub path: String,
pub hash: String,
pub size: u64,
pub bytes: Vec<u8>,
pub text: Option<String>,
pub is_text: bool,
pub executable: bool,
}Fields§
§path: String§hash: String§size: u64§bytes: Vec<u8>§text: Option<String>§is_text: bool§executable: boolTrait Implementations§
Source§impl Clone for SnapshotEntry
impl Clone for SnapshotEntry
Source§fn clone(&self) -> SnapshotEntry
fn clone(&self) -> SnapshotEntry
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 moreAuto Trait Implementations§
impl Freeze for SnapshotEntry
impl RefUnwindSafe for SnapshotEntry
impl Send for SnapshotEntry
impl Sync for SnapshotEntry
impl Unpin for SnapshotEntry
impl UnsafeUnpin for SnapshotEntry
impl UnwindSafe for SnapshotEntry
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