pub struct ExampleAttributes {
pub categories: Vec<String>,
pub components: Vec<ExampleComponent>,
pub keywords: Vec<String>,
}Expand description
Represents the example attributes element
Classification metadata used for example discovery and filtering.
Fields§
§categories: Vec<String>Free-form category labels (0..*)
components: Vec<ExampleComponent>Component dependencies or tags (0..*)
keywords: Vec<String>Search keywords (0..*)
Trait Implementations§
Source§impl Clone for ExampleAttributes
impl Clone for ExampleAttributes
Source§fn clone(&self) -> ExampleAttributes
fn clone(&self) -> ExampleAttributes
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 moreSource§impl Debug for ExampleAttributes
impl Debug for ExampleAttributes
Source§impl Default for ExampleAttributes
impl Default for ExampleAttributes
Source§fn default() -> ExampleAttributes
fn default() -> ExampleAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExampleAttributes
impl<'de> Deserialize<'de> for ExampleAttributes
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 Eq for ExampleAttributes
Source§impl PartialEq for ExampleAttributes
impl PartialEq for ExampleAttributes
Source§impl Serialize for ExampleAttributes
impl Serialize for ExampleAttributes
impl StructuralPartialEq for ExampleAttributes
Auto Trait Implementations§
impl Freeze for ExampleAttributes
impl RefUnwindSafe for ExampleAttributes
impl Send for ExampleAttributes
impl Sync for ExampleAttributes
impl Unpin for ExampleAttributes
impl UnsafeUnpin for ExampleAttributes
impl UnwindSafe for ExampleAttributes
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