pub struct LsRefs {
pub peel: bool,
pub symrefs: bool,
pub unborn: bool,
pub ref_prefix: Option<String>,
pub hash_kind: HashKind,
}Expand description
List remote references.
§Example
let ls_refs = LsRefs {
peel: false,
symrefs: false,
unborn: false,
ref_prefix: Some("refs/heads/".to_owned()),
hash_kind: HashKind::Sha1,
};Fields§
§peel: bool§symrefs: bool§unborn: bool§ref_prefix: Option<String>§hash_kind: HashKindTrait Implementations§
Auto Trait Implementations§
impl Freeze for LsRefs
impl RefUnwindSafe for LsRefs
impl Send for LsRefs
impl Sync for LsRefs
impl Unpin for LsRefs
impl UnsafeUnpin for LsRefs
impl UnwindSafe for LsRefs
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