#[repr(u8)]pub enum PullRequestCreationPolicy {
All = 0,
CollaboratorsOnly = 1,
}Expand description
Who can open pull requests.
Variants§
Trait Implementations§
Source§impl Clone for PullRequestCreationPolicy
impl Clone for PullRequestCreationPolicy
Source§fn clone(&self) -> PullRequestCreationPolicy
fn clone(&self) -> PullRequestCreationPolicy
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 Copy for PullRequestCreationPolicy
Source§impl Debug for PullRequestCreationPolicy
impl Debug for PullRequestCreationPolicy
Source§impl Default for PullRequestCreationPolicy
impl Default for PullRequestCreationPolicy
Source§fn default() -> PullRequestCreationPolicy
fn default() -> PullRequestCreationPolicy
Returns the “default value” for a type. Read more
impl Eq for PullRequestCreationPolicy
Source§impl<'ʄ> Facet<'ʄ> for PullRequestCreationPolicy
impl<'ʄ> Facet<'ʄ> for PullRequestCreationPolicy
Source§impl Ord for PullRequestCreationPolicy
impl Ord for PullRequestCreationPolicy
Source§fn cmp(&self, other: &PullRequestCreationPolicy) -> Ordering
fn cmp(&self, other: &PullRequestCreationPolicy) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for PullRequestCreationPolicy
impl PartialOrd for PullRequestCreationPolicy
impl StructuralPartialEq for PullRequestCreationPolicy
Auto Trait Implementations§
impl Freeze for PullRequestCreationPolicy
impl RefUnwindSafe for PullRequestCreationPolicy
impl Send for PullRequestCreationPolicy
impl Sync for PullRequestCreationPolicy
impl Unpin for PullRequestCreationPolicy
impl UnsafeUnpin for PullRequestCreationPolicy
impl UnwindSafe for PullRequestCreationPolicy
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§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.