pub struct Prompts {
pub tasks: Vec<PromptTask>,
pub version: Option<u64>,
pub changed_by: Option<String>,
pub changed_at: Option<String>,
}Expand description
GET /api/v1/prompts: each LLM task’s built-in prompt, its saved versions and the one in use.
Fields§
§tasks: Vec<PromptTask>§version: Option<u64>§changed_by: Option<String>§changed_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Prompts
impl<'de> Deserialize<'de> for Prompts
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
Auto Trait Implementations§
impl Forget for Prompts
impl Freeze for Prompts
impl RefUnwindSafe for Prompts
impl Send for Prompts
impl Sync for Prompts
impl Unpin for Prompts
impl UnsafeUnpin for Prompts
impl UnwindSafe for Prompts
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