pub struct BundleCreateOptions {
pub all_refs: bool,
pub rev_tokens: Vec<String>,
}Expand description
Ref tips and revision tokens for write_bundle_with_options.
Fields§
§all_refs: boolWhen true, list HEAD and every ref under refs/ in the bundle header (like git bundle create --all).
rev_tokens: Vec<String>Revision arguments (tips, ranges, exclusions). Ignored when all_refs is true.
Implementations§
Source§impl BundleCreateOptions
impl BundleCreateOptions
Sourcepub fn from_rev_tokens(rev_tokens: Vec<String>) -> Self
pub fn from_rev_tokens(rev_tokens: Vec<String>) -> Self
Build options from positional revision tokens only.
Trait Implementations§
Source§impl Clone for BundleCreateOptions
impl Clone for BundleCreateOptions
Source§impl Debug for BundleCreateOptions
impl Debug for BundleCreateOptions
Source§impl Default for BundleCreateOptions
impl Default for BundleCreateOptions
impl Eq for BundleCreateOptions
Source§impl PartialEq for BundleCreateOptions
impl PartialEq for BundleCreateOptions
impl StructuralPartialEq for BundleCreateOptions
Auto Trait Implementations§
impl Freeze for BundleCreateOptions
impl RefUnwindSafe for BundleCreateOptions
impl Send for BundleCreateOptions
impl Sync for BundleCreateOptions
impl Unpin for BundleCreateOptions
impl UnsafeUnpin for BundleCreateOptions
impl UnwindSafe for BundleCreateOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.