pub struct Theme {
pub data: Option<HashMap<String, Value>>,
pub default_messages: Option<String>,
pub id: Option<Uuid>,
pub insert_instant: Option<i64>,
pub last_update_instant: Option<i64>,
pub localized_messages: Option<Value>,
pub name: Option<String>,
pub stylesheet: Option<String>,
pub templates: Option<Box<Templates>>,
pub type: Option<ThemeType>,
pub variables: Option<Box<SimpleThemeVariables>>,
}
Expand description
Theme :
Fields§
§data: Option<HashMap<String, Value>>
§default_messages: Option<String>
§id: Option<Uuid>
§insert_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
last_update_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
localized_messages: Option<Value>
Models a set of localized Strings that can be stored as JSON.
name: Option<String>
§stylesheet: Option<String>
§templates: Option<Box<Templates>>
§type: Option<ThemeType>
§variables: Option<Box<SimpleThemeVariables>>
Implementations§
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
impl StructuralPartialEq for Theme
Auto Trait Implementations§
impl Freeze for Theme
impl RefUnwindSafe for Theme
impl Send for Theme
impl Sync for Theme
impl Unpin for Theme
impl UnwindSafe for Theme
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