pub enum InviteFailedReason {
HasIndividualAccount,
AssociatedWithSchool,
UserNotFound,
}
Expand description
Possible invite failure reasons
Variants§
HasIndividualAccount
The user already has an individual account
AssociatedWithSchool
The user is already associated with another school
UserNotFound
The user could not be found (not registered yet)
Trait Implementations§
Source§impl Clone for InviteFailedReason
impl Clone for InviteFailedReason
Source§fn clone(&self) -> InviteFailedReason
fn clone(&self) -> InviteFailedReason
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 InviteFailedReason
impl Debug for InviteFailedReason
Source§impl<'de> Deserialize<'de> for InviteFailedReason
impl<'de> Deserialize<'de> for InviteFailedReason
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
Source§impl Display for InviteFailedReason
impl Display for InviteFailedReason
Auto Trait Implementations§
impl Freeze for InviteFailedReason
impl RefUnwindSafe for InviteFailedReason
impl Send for InviteFailedReason
impl Sync for InviteFailedReason
impl Unpin for InviteFailedReason
impl UnwindSafe for InviteFailedReason
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