pub struct ImageField(/* private fields */);Expand description
A relative storage key for an image. The bytes live in a media backend,
not in the database; che-rest manages uploads and URLs.
Implementations§
Trait Implementations§
Source§impl Clone for ImageField
impl Clone for ImageField
Source§impl ColumnTypeOf for ImageField
impl ColumnTypeOf for ImageField
Source§impl Debug for ImageField
impl Debug for ImageField
impl Eq for ImageField
Source§impl FromDatabaseValue for ImageField
impl FromDatabaseValue for ImageField
fn from_database_value(value: &DatabaseValue) -> Result<Self, DecodeError>
Source§impl FromSql for ImageField
Available on crate feature sqlite only.
impl FromSql for ImageField
Available on crate feature
sqlite only.Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Source§impl Hash for ImageField
impl Hash for ImageField
Source§impl PartialEq for ImageField
impl PartialEq for ImageField
Source§impl QueryValue<ImageField> for ImageField
impl QueryValue<ImageField> for ImageField
fn into_query_value(self) -> DatabaseValue
Source§impl Serialize for ImageField
impl Serialize for ImageField
impl StructuralPartialEq for ImageField
Source§impl ToSql for ImageField
Available on crate feature sqlite only.
impl ToSql for ImageField
Available on crate feature
sqlite only.Source§fn to_sql(&self) -> Result<ToSqlOutput<'_>>
fn to_sql(&self) -> Result<ToSqlOutput<'_>>
Converts Rust value to SQLite value
Auto Trait Implementations§
impl Freeze for ImageField
impl RefUnwindSafe for ImageField
impl Send for ImageField
impl Sync for ImageField
impl Unpin for ImageField
impl UnsafeUnpin for ImageField
impl UnwindSafe for ImageField
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