pub struct Command {
pub old_id: ObjectId,
pub new_id: ObjectId,
pub ref_name: String,
}Expand description
A ref update command from the client.
Fields§
§old_id: ObjectIdOld object ID (zeros for create).
new_id: ObjectIdNew object ID (zeros for delete).
ref_name: StringReference name.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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