pub struct DiskSkillConfig {
pub id: String,
pub name: String,
pub description: String,
pub enabled: bool,
pub file: String,
pub tags: Vec<String>,
pub category: Option<String>,
}Fields§
§id: String§name: String§description: String§enabled: bool§file: String§category: Option<String>Implementations§
Source§impl DiskSkillConfig
impl DiskSkillConfig
pub fn content_file(&self) -> &str
Trait Implementations§
Source§impl Clone for DiskSkillConfig
impl Clone for DiskSkillConfig
Source§fn clone(&self) -> DiskSkillConfig
fn clone(&self) -> DiskSkillConfig
Returns a duplicate 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 DiskSkillConfig
impl Debug for DiskSkillConfig
Source§impl<'de> Deserialize<'de> for DiskSkillConfig
impl<'de> Deserialize<'de> for DiskSkillConfig
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 DiskSkillConfig
impl RefUnwindSafe for DiskSkillConfig
impl Send for DiskSkillConfig
impl Sync for DiskSkillConfig
impl Unpin for DiskSkillConfig
impl UnsafeUnpin for DiskSkillConfig
impl UnwindSafe for DiskSkillConfig
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