pub enum MergeProposalStatus {
All,
Open,
Closed,
Merged,
}Expand description
Status of a merge proposal.
Variants§
All
All merge proposals regardless of status.
Open
Open merge proposals that haven’t been merged or closed.
Closed
Closed merge proposals that weren’t merged.
Merged
Merged merge proposals that have been accepted and integrated.
Implementations§
Source§impl MergeProposalStatus
impl MergeProposalStatus
Sourcepub fn all() -> Vec<MergeProposalStatus>
pub fn all() -> Vec<MergeProposalStatus>
Get all possible merge proposal statuses.
Trait Implementations§
Source§impl Clone for MergeProposalStatus
impl Clone for MergeProposalStatus
Source§fn clone(&self) -> MergeProposalStatus
fn clone(&self) -> MergeProposalStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MergeProposalStatus
impl Debug for MergeProposalStatus
Source§impl Display for MergeProposalStatus
impl Display for MergeProposalStatus
Source§impl<'a, 'py> FromPyObject<'a, 'py> for MergeProposalStatus
impl<'a, 'py> FromPyObject<'a, 'py> for MergeProposalStatus
Source§impl FromStr for MergeProposalStatus
impl FromStr for MergeProposalStatus
Source§impl Hash for MergeProposalStatus
impl Hash for MergeProposalStatus
Source§impl<'py> IntoPyObject<'py> for MergeProposalStatus
impl<'py> IntoPyObject<'py> for MergeProposalStatus
Source§type Output = Bound<'py, <MergeProposalStatus as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <MergeProposalStatus as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Source§type Error = Infallible
type Error = Infallible
The type returned in the event of a conversion error.
Source§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<MergeProposalStatus as IntoPyObject<'py>>::Output, <MergeProposalStatus as IntoPyObject<'py>>::Error>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<MergeProposalStatus as IntoPyObject<'py>>::Output, <MergeProposalStatus as IntoPyObject<'py>>::Error>
Performs the conversion.
Source§impl PartialEq for MergeProposalStatus
impl PartialEq for MergeProposalStatus
impl Copy for MergeProposalStatus
impl Eq for MergeProposalStatus
impl StructuralPartialEq for MergeProposalStatus
Auto Trait Implementations§
impl Freeze for MergeProposalStatus
impl RefUnwindSafe for MergeProposalStatus
impl Send for MergeProposalStatus
impl Sync for MergeProposalStatus
impl Unpin for MergeProposalStatus
impl UnsafeUnpin for MergeProposalStatus
impl UnwindSafe for MergeProposalStatus
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§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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
impl<'py, T> IntoPyObjectExt<'py> for Twhere
T: IntoPyObject<'py>,
Source§fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
fn into_bound_py_any(self, py: Python<'py>) -> Result<Bound<'py, PyAny>, PyErr>
Converts
self into an owned Python object, dropping type information.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> PyErrArguments for T
impl<T> PyErrArguments for T
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.