pub struct BaseContent {
pub instructions: ModuleAssist,
pub feedback: ModuleAssist,
pub theme: ThemeId,
pub backgrounds: Backgrounds,
pub stickers: Vec<Sticker>,
}
Expand description
The base content for design modules that don’t need custom Sticker wrappers
Fields§
§instructions: ModuleAssist
The instructions for the module.
feedback: ModuleAssist
The feedback for the module.
theme: ThemeId
The module’s theme.
backgrounds: Backgrounds
Backgrounds
stickers: Vec<Sticker>
Stickers
Trait Implementations§
Source§impl Clone for BaseContent
impl Clone for BaseContent
Source§fn clone(&self) -> BaseContent
fn clone(&self) -> BaseContent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BaseContent
impl Debug for BaseContent
Source§impl Default for BaseContent
impl Default for BaseContent
Source§impl<'de> Deserialize<'de> for BaseContent
impl<'de> Deserialize<'de> for BaseContent
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
Auto Trait Implementations§
impl Freeze for BaseContent
impl RefUnwindSafe for BaseContent
impl Send for BaseContent
impl Sync for BaseContent
impl Unpin for BaseContent
impl UnwindSafe for BaseContent
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