pub struct StatusRequest {
pub id: String,
pub dir: String,
pub read_index: ReadIndex,
}
Expand description
A Request to be sent to the demon.
Fields§
§id: String
The request Id, can be blank
dir: String
Path to the directory for which git stats are being requested.
If the first character is ‘:’, it is removed and the remaning path is treated as GIT_DIR.
read_index: ReadIndex
Wether or not to read the git index
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StatusRequest
impl RefUnwindSafe for StatusRequest
impl Send for StatusRequest
impl Sync for StatusRequest
impl Unpin for StatusRequest
impl UnwindSafe for StatusRequest
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