pub struct Candidate<'a> {
pub repo_name: &'a str,
pub branch: &'a str,
pub key: &'a str,
pub last_commit: DateTime<Utc>,
pub ahead: Option<u32>,
pub behind: Option<u32>,
pub ignored: bool,
}Expand description
A loop as seen by the evaluator. Borrowed to keep matches allocation-free.
Fields§
§repo_name: &'a str§branch: &'a str§key: &'a str§last_commit: DateTime<Utc>§ahead: Option<u32>§behind: Option<u32>§ignored: boolAuto Trait Implementations§
impl<'a> Freeze for Candidate<'a>
impl<'a> RefUnwindSafe for Candidate<'a>
impl<'a> Send for Candidate<'a>
impl<'a> Sync for Candidate<'a>
impl<'a> Unpin for Candidate<'a>
impl<'a> UnsafeUnpin for Candidate<'a>
impl<'a> UnwindSafe for Candidate<'a>
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