pub struct PlannedRefWrite {
pub full_name: String,
pub old: Option<ObjectId>,
pub new: ObjectId,
pub force: bool,
}Expand description
A served ref a push destination must write: its full name, the served new
tip, and whether the receive-pack command must be forced.
Fields§
§full_name: String§old: Option<ObjectId>§new: ObjectId§force: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for PlannedRefWrite
impl RefUnwindSafe for PlannedRefWrite
impl Send for PlannedRefWrite
impl Sync for PlannedRefWrite
impl Unpin for PlannedRefWrite
impl UnsafeUnpin for PlannedRefWrite
impl UnwindSafe for PlannedRefWrite
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