pub struct SkillSourceRef {
pub server: String,
pub kind: SkillSourceKind,
pub reference: String,
pub body: Option<String>,
}Expand description
Where a skill comes from.
Fields§
§server: String§kind: SkillSourceKind§reference: StringThe prompt name or the resource URI.
body: Option<String>The body, for SkillSourceKind::Inline only.
Trait Implementations§
Source§impl Clone for SkillSourceRef
impl Clone for SkillSourceRef
Source§fn clone(&self) -> SkillSourceRef
fn clone(&self) -> SkillSourceRef
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 SkillSourceRef
impl Debug for SkillSourceRef
Source§impl<'de> Deserialize<'de> for SkillSourceRef
impl<'de> Deserialize<'de> for SkillSourceRef
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 SkillSourceRef
Source§impl PartialEq for SkillSourceRef
impl PartialEq for SkillSourceRef
Source§impl Serialize for SkillSourceRef
impl Serialize for SkillSourceRef
impl StructuralPartialEq for SkillSourceRef
Auto Trait Implementations§
impl Freeze for SkillSourceRef
impl RefUnwindSafe for SkillSourceRef
impl Send for SkillSourceRef
impl Sync for SkillSourceRef
impl Unpin for SkillSourceRef
impl UnsafeUnpin for SkillSourceRef
impl UnwindSafe for SkillSourceRef
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