#[non_exhaustive]pub enum UrgencyKind {
Unknown,
Low,
Medium,
High,
Critical,
}
Expand description
The urgency of an Release
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
Urgency is unknown or not set
Low
Low urgency
Medium
Medium urgency
High
High urgency
Critical
Critical urgency
Implementations§
source§impl UrgencyKind
impl UrgencyKind
pub fn from_string(urgency_kind: &str) -> UrgencyKind
pub fn to_str(self) -> Option<GString>
Trait Implementations§
source§impl Clone for UrgencyKind
impl Clone for UrgencyKind
source§fn clone(&self) -> UrgencyKind
fn clone(&self) -> UrgencyKind
Returns a copy 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 UrgencyKind
impl Debug for UrgencyKind
source§impl From<UrgencyKind> for Value
impl From<UrgencyKind> for Value
source§fn from(v: UrgencyKind) -> Self
fn from(v: UrgencyKind) -> Self
Converts to this type from the input type.
source§impl<'a> FromValue<'a> for UrgencyKind
impl<'a> FromValue<'a> for UrgencyKind
source§type Checker = GenericValueTypeChecker<UrgencyKind>
type Checker = GenericValueTypeChecker<UrgencyKind>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl HasParamSpec for UrgencyKind
impl HasParamSpec for UrgencyKind
type ParamSpec = ParamSpecEnum
source§type SetValue = UrgencyKind
type SetValue = UrgencyKind
Preferred value to be used as setter for the associated ParamSpec.
type BuilderFn = fn(_: &str, _: UrgencyKind) -> ParamSpecEnumBuilder<'_, UrgencyKind>
fn param_spec_builder() -> Self::BuilderFn
source§impl Hash for UrgencyKind
impl Hash for UrgencyKind
source§impl Ord for UrgencyKind
impl Ord for UrgencyKind
source§fn cmp(&self, other: &UrgencyKind) -> Ordering
fn cmp(&self, other: &UrgencyKind) -> Ordering
1.21.0 · 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
source§impl PartialEq for UrgencyKind
impl PartialEq for UrgencyKind
source§impl PartialOrd for UrgencyKind
impl PartialOrd for UrgencyKind
source§impl StaticType for UrgencyKind
impl StaticType for UrgencyKind
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToValue for UrgencyKind
impl ToValue for UrgencyKind
source§impl ValueType for UrgencyKind
impl ValueType for UrgencyKind
source§type Type = UrgencyKind
type Type = UrgencyKind
Type to get the
Type
from. Read moreimpl Copy for UrgencyKind
impl Eq for UrgencyKind
impl StructuralPartialEq for UrgencyKind
Auto Trait Implementations§
impl Freeze for UrgencyKind
impl RefUnwindSafe for UrgencyKind
impl Send for UrgencyKind
impl Sync for UrgencyKind
impl Unpin for UrgencyKind
impl UnwindSafe for UrgencyKind
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.