pub enum PrState {
Open,
Closed,
Merged,
Unknown,
}Expand description
Gitee lifecycle state. Unknown values deserialize to Unknown
(forward-compatible); serialization always emits the API string,
so --json output is unchanged for known states.
Variants§
Implementations§
Trait Implementations§
impl Copy for PrState
Source§impl<'de> Deserialize<'de> for PrState
impl<'de> Deserialize<'de> for PrState
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PrState
impl StructuralPartialEq for PrState
Auto Trait Implementations§
impl Freeze for PrState
impl RefUnwindSafe for PrState
impl Send for PrState
impl Sync for PrState
impl Unpin for PrState
impl UnsafeUnpin for PrState
impl UnwindSafe for PrState
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.