Struct hg_parser::ChangesetFile [−][src]
pub struct ChangesetFile { pub path: Vec<u8>, pub data: Option<Arc<Vec<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>
Expand description
Path.
data: Option<Arc<Vec<u8>>>
Expand description
Data of file, None
- file was deleted, otherwise it was added or modified.
manifest_entry: Option<ManifestEntry>
Expand description
Meta information, None
- file was deleted, otherwise it was added or modified.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ChangesetFile
impl Send for ChangesetFile
impl Sync for ChangesetFile
impl Unpin for ChangesetFile
impl UnwindSafe for ChangesetFile
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self