Struct hg_parser::ChangesetFile
source · pub struct ChangesetFile {
pub path: Vec<u8>,
pub data: Option<Arc<[u8]>>,
pub manifest_entry: Option<ManifestEntry>,
}
Expand description
Changeset’s file. Contains path info, internal blob from Mercurial (use file_content for actual file data) and meta information.
Fields§
§path: Vec<u8>
Path.
data: Option<Arc<[u8]>>
Data of file, None
- file was deleted, otherwise it was added or modified.
manifest_entry: Option<ManifestEntry>
Meta information, None
- file was deleted, otherwise it was added or modified.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChangesetFile
impl RefUnwindSafe for ChangesetFile
impl Send for ChangesetFile
impl Sync for ChangesetFile
impl Unpin for ChangesetFile
impl UnwindSafe for ChangesetFile
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