pub struct ForgeLocks {
pub issues: RepoLocks,
pub pulls: RepoLocks,
}Expand description
The two lock families JSS keeps: issueLocks and pullLocks.
Fields§
§issues: RepoLocksGuards issues/<owner>/<repo>.json (labels live in the same file).
pulls: RepoLocksGuards pulls/<owner>/<repo>.json and merges. Acquire after
ForgeLocks::issues when both are needed.
Trait Implementations§
Source§impl Debug for ForgeLocks
impl Debug for ForgeLocks
Auto Trait Implementations§
impl !Freeze for ForgeLocks
impl RefUnwindSafe for ForgeLocks
impl Send for ForgeLocks
impl Sync for ForgeLocks
impl Unpin for ForgeLocks
impl UnsafeUnpin for ForgeLocks
impl UnwindSafe for ForgeLocks
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