IntoActiveValue

Trait IntoActiveValue 

Source
pub trait IntoActiveValue<V>
where V: Into<Value>,
{ // Required method fn into_active_value(self) -> ActiveValue<V>; }
Expand description

Any type that can be converted into an ActiveValue

Required Methodsยง

Source

fn into_active_value(self) -> ActiveValue<V>

Method to perform the conversion

Implementations on Foreign Typesยง

Sourceยง

impl IntoActiveValue<&'static str> for &'static str

Sourceยง

impl IntoActiveValue<bool> for bool

Sourceยง

impl IntoActiveValue<f32> for f32

Sourceยง

impl IntoActiveValue<f64> for f64

Sourceยง

impl IntoActiveValue<i8> for i8

Sourceยง

impl IntoActiveValue<i16> for i16

Sourceยง

impl IntoActiveValue<i32> for i32

Sourceยง

impl IntoActiveValue<i64> for i64

Sourceยง

impl IntoActiveValue<u8> for u8

Sourceยง

impl IntoActiveValue<u16> for u16

Sourceยง

impl IntoActiveValue<u32> for u32

Sourceยง

impl IntoActiveValue<u64> for u64

Sourceยง

impl IntoActiveValue<String> for String

Sourceยง

impl IntoActiveValue<Vec<u8>> for Vec<u8>

Sourceยง

impl<V> IntoActiveValue<Option<V>> for Option<Option<V>>

Sourceยง

impl<V> IntoActiveValue<Option<V>> for Option<V>

Implementorsยง

Sourceยง

impl IntoActiveValue<Value> for Json

Sourceยง

impl IntoActiveValue<PermissionId> for PermissionId

Available on crate feature rbac only.
Sourceยง

impl IntoActiveValue<ResourceId> for ResourceId

Available on crate feature rbac only.
Sourceยง

impl IntoActiveValue<RoleId> for RoleId

Available on crate feature rbac only.
Sourceยง

impl IntoActiveValue<UserId> for UserId

Available on crate feature rbac only.
Sourceยง

impl IntoActiveValue<ChronoUnixTimestamp> for ChronoUnixTimestamp

Available on crate feature with-chrono only.
Sourceยง

impl IntoActiveValue<ChronoUnixTimestampMillis> for ChronoUnixTimestampMillis

Available on crate feature with-chrono only.
Sourceยง

impl IntoActiveValue<TimeUnixTimestamp> for TimeUnixTimestamp

Available on crate feature with-time only.
Sourceยง

impl IntoActiveValue<TimeUnixTimestampMillis> for TimeUnixTimestampMillis

Available on crate feature with-time only.
Sourceยง

impl IntoActiveValue<DateTime<FixedOffset>> for DateTimeWithTimeZone

Sourceยง

impl IntoActiveValue<DateTime<Local>> for DateTimeLocal

Sourceยง

impl IntoActiveValue<DateTime<Utc>> for DateTimeUtc

Sourceยง

impl IntoActiveValue<NaiveDate> for Date

Sourceยง

impl IntoActiveValue<NaiveDateTime> for DateTime

Sourceยง

impl IntoActiveValue<Decimal> for Decimal

Sourceยง

impl IntoActiveValue<NaiveTime> for Time

Sourceยง

impl IntoActiveValue<Date> for TimeDate

Sourceยง

impl IntoActiveValue<PrimitiveDateTime> for TimeDateTime

Sourceยง

impl IntoActiveValue<OffsetDateTime> for TimeDateTimeWithTimeZone

Sourceยง

impl IntoActiveValue<Time> for TimeTime

Sourceยง

impl IntoActiveValue<Uuid> for Uuid