pub enum PushTarget {
Origin,
Fork(Fork),
}Expand description
Where a branch spar opened a pull request from is published.
Variants§
Origin
Fork(Fork)
The authenticated user’s fork, for a repository origin would not let them push to.
Implementations§
Trait Implementations§
Source§impl Clone for PushTarget
impl Clone for PushTarget
Source§impl Debug for PushTarget
impl Debug for PushTarget
impl Eq for PushTarget
Source§impl PartialEq for PushTarget
impl PartialEq for PushTarget
impl StructuralPartialEq for PushTarget
Auto Trait Implementations§
impl Freeze for PushTarget
impl RefUnwindSafe for PushTarget
impl Send for PushTarget
impl Sync for PushTarget
impl Unpin for PushTarget
impl UnsafeUnpin for PushTarget
impl UnwindSafe for PushTarget
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.