pub(crate) enum Expectation<'a> {
Marked(&'a str),
NoPullRequest,
Unreadable(MarkerError),
}Expand description
What the pull request says about the proposal branch.
Variants§
Marked(&'a str)
The pull request marker names this head.
NoPullRequest
No pull request exists, so the branch must not exist yet or must already be merged.
Unreadable(MarkerError)
The pull request exists but its marker cannot be read.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for Expectation<'a>
impl<'a> Clone for Expectation<'a>
Source§fn clone(&self) -> Expectation<'a>
fn clone(&self) -> Expectation<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for Expectation<'a>
Source§impl<'a> Debug for Expectation<'a>
impl<'a> Debug for Expectation<'a>
impl<'a> Eq for Expectation<'a>
Source§impl<'a> PartialEq for Expectation<'a>
impl<'a> PartialEq for Expectation<'a>
impl<'a> StructuralPartialEq for Expectation<'a>
Auto Trait Implementations§
impl<'a> Freeze for Expectation<'a>
impl<'a> RefUnwindSafe for Expectation<'a>
impl<'a> Send for Expectation<'a>
impl<'a> Sync for Expectation<'a>
impl<'a> Unpin for Expectation<'a>
impl<'a> UnsafeUnpin for Expectation<'a>
impl<'a> UnwindSafe for Expectation<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.