pub struct ToolConfigRow {
pub tool_id: String,
pub enabled: bool,
pub settings_json: String,
}Expand description
Per-game tool configuration stored in the database.
This is a DB-layer representation; the full ToolConfig with
serde_json::Value settings lives in modde_games::tools.
Fields§
§tool_id: String§enabled: bool§settings_json: StringTrait Implementations§
Source§impl Clone for ToolConfigRow
impl Clone for ToolConfigRow
Source§fn clone(&self) -> ToolConfigRow
fn clone(&self) -> ToolConfigRow
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 moreAuto Trait Implementations§
impl Freeze for ToolConfigRow
impl RefUnwindSafe for ToolConfigRow
impl Send for ToolConfigRow
impl Sync for ToolConfigRow
impl Unpin for ToolConfigRow
impl UnsafeUnpin for ToolConfigRow
impl UnwindSafe for ToolConfigRow
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