pub struct StringCategory {
pub name: String,
pub parent: Option<String>,
pub description: String,
}
Expand description
Represents a category that strings can belong to
Fields§
§name: String
Name of the category
parent: Option<String>
Parent category (for hierarchical categorization)
description: String
Description of what this category represents
Trait Implementations§
Source§impl Clone for StringCategory
impl Clone for StringCategory
Source§fn clone(&self) -> StringCategory
fn clone(&self) -> StringCategory
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 StringCategory
impl Debug for StringCategory
Source§impl<'de> Deserialize<'de> for StringCategory
impl<'de> Deserialize<'de> for StringCategory
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 Hash for StringCategory
impl Hash for StringCategory
Source§impl PartialEq for StringCategory
impl PartialEq for StringCategory
Source§impl Serialize for StringCategory
impl Serialize for StringCategory
impl Eq for StringCategory
impl StructuralPartialEq for StringCategory
Auto Trait Implementations§
impl Freeze for StringCategory
impl RefUnwindSafe for StringCategory
impl Send for StringCategory
impl Sync for StringCategory
impl Unpin for StringCategory
impl UnwindSafe for StringCategory
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