pub struct IntrEntryMeta {
pub tags: Option<Vec<String>>,
pub license: Option<String>,
pub parent: Option<String>,
pub forked_at: Option<String>,
pub extra: HashMap<String, Value>,
}Expand description
Intentry-specific frontmatter extensions under the intentry: key.
Fields§
Searchable tags for the commons.
license: Option<String>SPDX license identifier for the prompt content.
parent: Option<String>Fork attribution: "<author>/<slug>@<version>".
forked_at: Option<String>ISO 8601 timestamp when this fork was created.
extra: HashMap<String, Value>Any unknown fields are preserved.
Trait Implementations§
Source§impl Clone for IntrEntryMeta
impl Clone for IntrEntryMeta
Source§fn clone(&self) -> IntrEntryMeta
fn clone(&self) -> IntrEntryMeta
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 IntrEntryMeta
impl Debug for IntrEntryMeta
Source§impl<'de> Deserialize<'de> for IntrEntryMeta
impl<'de> Deserialize<'de> for IntrEntryMeta
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 PartialEq for IntrEntryMeta
impl PartialEq for IntrEntryMeta
Source§fn eq(&self, other: &IntrEntryMeta) -> bool
fn eq(&self, other: &IntrEntryMeta) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IntrEntryMeta
impl Serialize for IntrEntryMeta
impl StructuralPartialEq for IntrEntryMeta
Auto Trait Implementations§
impl Freeze for IntrEntryMeta
impl RefUnwindSafe for IntrEntryMeta
impl Send for IntrEntryMeta
impl Sync for IntrEntryMeta
impl Unpin for IntrEntryMeta
impl UnsafeUnpin for IntrEntryMeta
impl UnwindSafe for IntrEntryMeta
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