pub struct FastExportOptions {
pub all: bool,
pub anonymize: bool,
pub anonymize_maps: Vec<String>,
pub use_done_feature: bool,
pub no_data: bool,
}Expand description
Options for export_stream.
Fields§
§all: boolExport all heads under refs/heads/ (and reachable history).
anonymize: boolReplace paths, idents, messages, and non-mark OIDs with stable placeholders.
anonymize_maps: Vec<String>from:to or bare token mappings (last duplicate key wins, matching Git).
use_done_feature: boolEmit feature done / trailing done (matches git fast-import when the feature is negotiated).
no_data: boolOmit blob commands and emit M lines with full object ids (matches git fast-export --no-data).
Trait Implementations§
Source§impl Clone for FastExportOptions
impl Clone for FastExportOptions
Source§fn clone(&self) -> FastExportOptions
fn clone(&self) -> FastExportOptions
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 FastExportOptions
impl Debug for FastExportOptions
Source§impl Default for FastExportOptions
impl Default for FastExportOptions
Source§fn default() -> FastExportOptions
fn default() -> FastExportOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FastExportOptions
impl RefUnwindSafe for FastExportOptions
impl Send for FastExportOptions
impl Sync for FastExportOptions
impl Unpin for FastExportOptions
impl UnsafeUnpin for FastExportOptions
impl UnwindSafe for FastExportOptions
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