pub struct StagedSkillPayload {
pub provenance: StagedSkillProvenance,
pub name: String,
pub args: String,
pub rendered_body: String,
pub source_path: String,
pub base_dir: String,
pub supporting_files: Vec<String>,
pub grants: Vec<PermissionRule>,
pub model: Option<ModelKey>,
}Fields§
§provenance: StagedSkillProvenance§name: String§args: String§rendered_body: String§source_path: String§base_dir: String§supporting_files: Vec<String>§grants: Vec<PermissionRule>§model: Option<ModelKey>Trait Implementations§
Source§impl Clone for StagedSkillPayload
impl Clone for StagedSkillPayload
Source§fn clone(&self) -> StagedSkillPayload
fn clone(&self) -> StagedSkillPayload
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 StagedSkillPayload
impl Debug for StagedSkillPayload
Source§impl<'de> Deserialize<'de> for StagedSkillPayload
impl<'de> Deserialize<'de> for StagedSkillPayload
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 StagedSkillPayload
Source§impl JsonSchema for StagedSkillPayload
impl JsonSchema for StagedSkillPayload
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for StagedSkillPayload
impl PartialEq for StagedSkillPayload
Source§fn eq(&self, other: &StagedSkillPayload) -> bool
fn eq(&self, other: &StagedSkillPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StagedSkillPayload
impl Serialize for StagedSkillPayload
impl StructuralPartialEq for StagedSkillPayload
Auto Trait Implementations§
impl Freeze for StagedSkillPayload
impl RefUnwindSafe for StagedSkillPayload
impl Send for StagedSkillPayload
impl Sync for StagedSkillPayload
impl Unpin for StagedSkillPayload
impl UnsafeUnpin for StagedSkillPayload
impl UnwindSafe for StagedSkillPayload
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