Enum contack::sql::error::SqlConversionError [−][src]
pub enum SqlConversionError {
InvalidGender,
IncompleteOrg,
FailedDateTime(TryFromIntError),
IncompleteUri,
IncompleteGeo,
}This is supported on crate feature
sql only.Expand description
This type is an error type for when converting between SqlContact
and Contact.
Variants
InvalidGender
Invalid gender
IncompleteOrg
Incomplete org
FailedDateTime(TryFromIntError)
Tuple Fields
Failed to create date
IncompleteUri
Incomplete uri
IncompleteGeo
Incomplete geo
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SqlConversionError
impl Send for SqlConversionError
impl Sync for SqlConversionError
impl Unpin for SqlConversionError
impl UnwindSafe for SqlConversionError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert self to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self to an expression for Diesel’s query builder. Read more
