pub struct SkillResource {
pub id: String,
pub object: String,
pub name: String,
pub description: String,
pub created_at: u64,
pub default_version: String,
pub latest_version: String,
}Available on crate feature
skill-types only.Expand description
Represents a skill object.
Fields§
§id: StringUnique identifier for the skill.
object: StringThe object type, which is always skill.
name: StringName of the skill.
description: StringDescription of the skill.
created_at: u64Unix timestamp (in seconds) for when the skill was created.
default_version: StringDefault version for the skill.
latest_version: StringLatest version for the skill.
Trait Implementations§
Source§impl Clone for SkillResource
impl Clone for SkillResource
Source§fn clone(&self) -> SkillResource
fn clone(&self) -> SkillResource
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 SkillResource
impl Debug for SkillResource
Source§impl<'de> Deserialize<'de> for SkillResource
impl<'de> Deserialize<'de> for SkillResource
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 SkillResource
impl PartialEq for SkillResource
Source§impl Serialize for SkillResource
impl Serialize for SkillResource
impl StructuralPartialEq for SkillResource
Auto Trait Implementations§
impl Freeze for SkillResource
impl RefUnwindSafe for SkillResource
impl Send for SkillResource
impl Sync for SkillResource
impl Unpin for SkillResource
impl UnsafeUnpin for SkillResource
impl UnwindSafe for SkillResource
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