#[non_exhaustive]pub enum RoleOutcome {
Applied,
Invited,
Failed(String),
}Expand description
Outcome of one role change.
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.
Applied
Applied directly.
Invited
An invitation was sent (or updated); the person must accept.
Failed(String)
The forge refused; the message says why.
Trait Implementations§
Source§impl Clone for RoleOutcome
impl Clone for RoleOutcome
Source§impl Debug for RoleOutcome
impl Debug for RoleOutcome
Source§impl<'de> Deserialize<'de> for RoleOutcome
impl<'de> Deserialize<'de> for RoleOutcome
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RoleOutcome
Source§impl PartialEq for RoleOutcome
impl PartialEq for RoleOutcome
Source§impl Serialize for RoleOutcome
impl Serialize for RoleOutcome
impl StructuralPartialEq for RoleOutcome
Auto Trait Implementations§
impl Freeze for RoleOutcome
impl RefUnwindSafe for RoleOutcome
impl Send for RoleOutcome
impl Sync for RoleOutcome
impl Unpin for RoleOutcome
impl UnsafeUnpin for RoleOutcome
impl UnwindSafe for RoleOutcome
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