pub struct Options {
pub refs_hint: RefsHint,
pub object_kind_hint: Option<ObjectKindHint>,
}
Expand description
Options for use in revision::Spec::from_bstr()
.
Fields
refs_hint: RefsHint
What to do if both refs and object names match the same input.
object_kind_hint: Option<ObjectKindHint>
The hint to use when encountering multiple object matching a prefix.
If None
, the rev-spec itself must disambiguate the object by drilling down to desired kinds or applying
other disambiguating transformations.
Trait Implementations
impl Copy for Options
Auto Trait Implementations
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more