pub struct Skill {
pub content: Option<String>,
pub created_at: Option<i32>,
pub description: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub org: Option<String>,
}Fields§
§content: Option<String>Content is the SKILL.md body, markdown.
created_at: Option<i32>CreatedAt is when the skill was last written, Unix seconds.
description: Option<String>Description is the one-line summary discovery shows for the skill.
id: Option<String>ID is the skill’s id within the org. It is DERIVED from Name, so writing the same name again revises that skill rather than adding another.
name: Option<String>Name is the skill’s name: one lowercase path segment (a-z0-9, _ or -).
org: Option<String>Org is the org that authored the skill — the validated caller’s, never a value the body supplied.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Skill
impl<'de> Deserialize<'de> for Skill
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 StructuralPartialEq for Skill
Auto Trait Implementations§
impl Freeze for Skill
impl RefUnwindSafe for Skill
impl Send for Skill
impl Sync for Skill
impl Unpin for Skill
impl UnsafeUnpin for Skill
impl UnwindSafe for Skill
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