pub struct RefObject {
pub sha: String,
pub kind: String,
}Expand description
The object a Git ref points at.
Fields§
§sha: StringThe object’s SHA.
kind: StringThe object type, such as commit or tag.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RefObject
impl RefUnwindSafe for RefObject
impl Send for RefObject
impl Sync for RefObject
impl Unpin for RefObject
impl UnsafeUnpin for RefObject
impl UnwindSafe for RefObject
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