pub enum PathDescriptor {
Endpoint {
path: String,
method: HttpMethod,
description: Option<String>,
input_schema: Option<Map<String, Value>>,
output_schema: Option<Map<String, Value>>,
content_type: Option<String>,
},
Skill {
path: String,
description: Option<String>,
content_type: String,
},
Prompt {
path: String,
description: Option<String>,
input_schema: Option<Map<String, Value>>,
output_schema: Option<Map<String, Value>>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PathDescriptor
impl Clone for PathDescriptor
Source§fn clone(&self) -> PathDescriptor
fn clone(&self) -> PathDescriptor
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 PathDescriptor
impl Debug for PathDescriptor
Source§impl<'de> Deserialize<'de> for PathDescriptor
impl<'de> Deserialize<'de> for PathDescriptor
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 PathDescriptor
impl PartialEq for PathDescriptor
Source§impl Serialize for PathDescriptor
impl Serialize for PathDescriptor
impl StructuralPartialEq for PathDescriptor
Auto Trait Implementations§
impl Freeze for PathDescriptor
impl RefUnwindSafe for PathDescriptor
impl Send for PathDescriptor
impl Sync for PathDescriptor
impl Unpin for PathDescriptor
impl UnsafeUnpin for PathDescriptor
impl UnwindSafe for PathDescriptor
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