pub enum AttemptStatus {
Succeeded,
Failed,
}
Variants§
Implementations§
Source§impl AttemptStatus
impl AttemptStatus
Sourcepub fn iden_values() -> Vec<DynIden> ⓘ
pub fn iden_values() -> Vec<DynIden> ⓘ
Generated by sea-orm-macros
Trait Implementations§
Source§impl ActiveEnum for AttemptStatus
impl ActiveEnum for AttemptStatus
Source§fn try_from_value(v: &Self::Value) -> Result<Self, DbErr>
fn try_from_value(v: &Self::Value) -> Result<Self, DbErr>
Try to convert the corresponding value into enum variant.
Source§fn into_value(self) -> Self::Value
fn into_value(self) -> Self::Value
Convert an owned enum variant into the corresponding value.
Source§fn as_enum(&self) -> SimpleExpr
fn as_enum(&self) -> SimpleExpr
Construct a enum expression with casting
Source§impl Clone for AttemptStatus
impl Clone for AttemptStatus
Source§fn clone(&self) -> AttemptStatus
fn clone(&self) -> AttemptStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AttemptStatus
impl Debug for AttemptStatus
Source§impl<'de> Deserialize<'de> for AttemptStatus
impl<'de> Deserialize<'de> for AttemptStatus
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 AttemptStatus
impl Display for AttemptStatus
Source§impl From<AttemptStatus> for AttemptStatus
impl From<AttemptStatus> for AttemptStatus
Source§fn from(value: AttemptStatus) -> Self
fn from(value: AttemptStatus) -> Self
Converts to this type from the input type.
Source§impl From<AttemptStatus> for i32
impl From<AttemptStatus> for i32
Source§fn from(value: AttemptStatus) -> Self
fn from(value: AttemptStatus) -> Self
Converts to this type from the input type.
Source§impl Into<Value> for AttemptStatus
impl Into<Value> for AttemptStatus
Source§impl IntoEnumIterator for AttemptStatus
impl IntoEnumIterator for AttemptStatus
type Iterator = AttemptStatusIter
fn iter() -> AttemptStatusIter ⓘ
Source§impl PartialEq for AttemptStatus
impl PartialEq for AttemptStatus
Source§impl Serialize for AttemptStatus
impl Serialize for AttemptStatus
Source§impl TryGetable for AttemptStatus
impl TryGetable for AttemptStatus
Source§fn try_get_by<I: ColIdx>(res: &QueryResult, idx: I) -> Result<Self, TryGetError>
fn try_get_by<I: ColIdx>(res: &QueryResult, idx: I) -> Result<Self, TryGetError>
Get a value from the query result with an ColIdx
Source§fn try_get(res: &QueryResult, pre: &str, col: &str) -> Result<Self, TryGetError>
fn try_get(res: &QueryResult, pre: &str, col: &str) -> Result<Self, TryGetError>
Get a value from the query result with prefixed column name
Source§fn try_get_by_index(
res: &QueryResult,
index: usize,
) -> Result<Self, TryGetError>
fn try_get_by_index( res: &QueryResult, index: usize, ) -> Result<Self, TryGetError>
Get a value from the query result based on the order in the select expressions
Source§impl ValueType for AttemptStatus
impl ValueType for AttemptStatus
impl Eq for AttemptStatus
impl StructuralPartialEq for AttemptStatus
Auto Trait Implementations§
impl Freeze for AttemptStatus
impl RefUnwindSafe for AttemptStatus
impl Send for AttemptStatus
impl Sync for AttemptStatus
impl Unpin for AttemptStatus
impl UnwindSafe for AttemptStatus
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<V> FromValueTuple for V
impl<V> FromValueTuple for V
fn from_value_tuple<I>(i: I) -> Vwhere
I: IntoValueTuple,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
Source§impl<V> IntoValueTuple for V
impl<V> IntoValueTuple for V
fn into_value_tuple(self) -> ValueTuple
Source§impl<T> TryFromU64 for Twhere
T: ActiveEnum,
impl<T> TryFromU64 for Twhere
T: ActiveEnum,
Source§impl<T> TryGetableMany for Twhere
T: TryGetable,
impl<T> TryGetableMany for Twhere
T: TryGetable,
Source§fn try_get_many(
res: &QueryResult,
pre: &str,
cols: &[String],
) -> Result<T, TryGetError>
fn try_get_many( res: &QueryResult, pre: &str, cols: &[String], ) -> Result<T, TryGetError>
Get a tuple value from the query result with prefixed column name
Source§fn try_get_many_by_index(res: &QueryResult) -> Result<T, TryGetError>
fn try_get_many_by_index(res: &QueryResult) -> Result<T, TryGetError>
Get a tuple value from the query result based on the order in the select expressions