pub enum VerboseStatus {
Unverified,
Verified,
Inactive,
Archived,
Deleted,
Unknown,
}Expand description
This is a re-exportation from the myc core to allow users to import both from myc-http-tools instead of the myc-core.
Variants§
Implementations§
Source§impl VerboseStatus
impl VerboseStatus
pub fn from_flags( is_active: bool, is_checked: bool, is_archived: bool, is_deleted: bool, ) -> VerboseStatus
pub fn to_flags(&self) -> Result<FlagResponse, MappedErrors>
Trait Implementations§
Source§impl Clone for VerboseStatus
impl Clone for VerboseStatus
Source§fn clone(&self) -> VerboseStatus
fn clone(&self) -> VerboseStatus
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 VerboseStatus
impl Debug for VerboseStatus
Source§impl<'de> Deserialize<'de> for VerboseStatus
impl<'de> Deserialize<'de> for VerboseStatus
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerboseStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VerboseStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VerboseStatus
impl Display for VerboseStatus
Source§impl FromStr for VerboseStatus
impl FromStr for VerboseStatus
Source§type Err = VerboseStatus
type Err = VerboseStatus
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<VerboseStatus, VerboseStatus>
fn from_str(s: &str) -> Result<VerboseStatus, VerboseStatus>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for VerboseStatus
impl PartialEq for VerboseStatus
Source§impl Serialize for VerboseStatus
impl Serialize for VerboseStatus
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl ToSchema for VerboseStatus
impl ToSchema for VerboseStatus
impl Eq for VerboseStatus
impl StructuralPartialEq for VerboseStatus
Auto Trait Implementations§
impl Freeze for VerboseStatus
impl RefUnwindSafe for VerboseStatus
impl Send for VerboseStatus
impl Sync for VerboseStatus
impl Unpin for VerboseStatus
impl UnwindSafe for VerboseStatus
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.