Enum dim_database::user::Theme
source · pub enum Theme {
Light,
Dark,
Black,
}
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Theme
impl<'de> Deserialize<'de> for Theme
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<'q, DB: Database> Encode<'q, DB> for Themewhere
&'q str: Encode<'q, DB>,
impl<'q, DB: Database> Encode<'q, DB> for Themewhere
&'q str: Encode<'q, DB>,
source§fn encode_by_ref(
&self,
buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
fn encode_by_ref(
&self,
buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
fn size_hint(&self) -> usize
§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.