pub struct SkillDefinition {Show 24 fields
pub id: SkillId,
pub name: String,
pub description: String,
pub version: String,
pub author: Option<String>,
pub enabled: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub skill_file: PathBuf,
pub reference_files: Option<Vec<PathBuf>>,
pub script_files: Option<Vec<PathBuf>>,
pub asset_files: Option<Vec<PathBuf>>,
pub execution_environment: Option<String>,
pub dependencies: Option<Vec<String>>,
pub timeout: Option<u64>,
pub source_url: Option<String>,
pub source_type: Option<SourceType>,
pub source_branch: Option<String>,
pub source_tag: Option<String>,
pub source_subdir: Option<PathBuf>,
pub installed_from: Option<String>,
pub commit_hash: Option<String>,
pub fetched_at: Option<DateTime<Utc>>,
pub editable: bool,
}Fields§
§id: SkillId§name: String§description: String§version: String§enabled: bool§created_at: DateTime<Utc>§updated_at: DateTime<Utc>§skill_file: PathBuf§reference_files: Option<Vec<PathBuf>>§script_files: Option<Vec<PathBuf>>§asset_files: Option<Vec<PathBuf>>§execution_environment: Option<String>§dependencies: Option<Vec<String>>§timeout: Option<u64>§source_url: Option<String>§source_type: Option<SourceType>§source_branch: Option<String>§source_tag: Option<String>§source_subdir: Option<PathBuf>§installed_from: Option<String>§commit_hash: Option<String>§fetched_at: Option<DateTime<Utc>>§editable: boolImplementations§
Trait Implementations§
Source§impl Clone for SkillDefinition
impl Clone for SkillDefinition
Source§fn clone(&self) -> SkillDefinition
fn clone(&self) -> SkillDefinition
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 SkillDefinition
impl Debug for SkillDefinition
Source§impl<'de> Deserialize<'de> for SkillDefinition
impl<'de> Deserialize<'de> for SkillDefinition
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 From<&SkillDefinition> for SkillMetadata
impl From<&SkillDefinition> for SkillMetadata
Source§fn from(skill: &SkillDefinition) -> Self
fn from(skill: &SkillDefinition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SkillDefinition
impl RefUnwindSafe for SkillDefinition
impl Send for SkillDefinition
impl Sync for SkillDefinition
impl Unpin for SkillDefinition
impl UnsafeUnpin for SkillDefinition
impl UnwindSafe for SkillDefinition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.