pub struct RefInfo {
pub name: String,
pub sha: String,
pub is_default: bool,
}Expand description
One ref (branch or tag) — repo/refs item.
Fields§
§name: String§sha: String§is_default: boolTrait Implementations§
impl Eq for RefInfo
impl StructuralPartialEq for RefInfo
Auto Trait Implementations§
impl Freeze for RefInfo
impl RefUnwindSafe for RefInfo
impl Send for RefInfo
impl Sync for RefInfo
impl Unpin for RefInfo
impl UnsafeUnpin for RefInfo
impl UnwindSafe for RefInfo
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