pub struct Proposal {
pub id: u64,
pub refname: String,
pub head: String,
}Expand description
One proposal in a round.
Fields§
§id: u64Round-local address, the position of Proposal::refname in the
round’s sorted order. Not an identity: the queue’s
cross-round identity is the patch identity
choir_queue::speculate::Speculator::identity computes, which
survives a rebase and a rename and this does not.
refname: StringThe proposal’s full name in the view, <repo>:refs/for/....
head: StringThe commit the proposal points at.
Trait Implementations§
impl Eq for Proposal
impl StructuralPartialEq for Proposal
Auto Trait Implementations§
impl Freeze for Proposal
impl RefUnwindSafe for Proposal
impl Send for Proposal
impl Sync for Proposal
impl Unpin for Proposal
impl UnsafeUnpin for Proposal
impl UnwindSafe for Proposal
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