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§fn clone(&self) -> ImageField
fn clone(&self) -> ImageField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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<ImageField, 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<'_>) -> Result<ImageField, FromSqlError>
fn column_result(value: ValueRef<'_>) -> Result<ImageField, FromSqlError>
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
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
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.Auto Trait Implementations§
impl Forget for ImageField
impl Freeze for ImageField
impl Move 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.