pub struct PromptArgument {
pub name: String,
pub description: Option<String>,
pub title: Option<String>,
pub required: bool,
}Expand description
An argument a prompt accepts.
Fields§
§name: Stringname.
description: Option<String>description.
title: Option<String>title. 2026-07-28.
required: boolrequired.
Trait Implementations§
Source§impl Clone for PromptArgument
impl Clone for PromptArgument
Source§impl Debug for PromptArgument
impl Debug for PromptArgument
impl Eq for PromptArgument
Source§impl PartialEq for PromptArgument
impl PartialEq for PromptArgument
impl StructuralPartialEq for PromptArgument
Auto Trait Implementations§
impl Freeze for PromptArgument
impl RefUnwindSafe for PromptArgument
impl Send for PromptArgument
impl Sync for PromptArgument
impl Unpin for PromptArgument
impl UnsafeUnpin for PromptArgument
impl UnwindSafe for PromptArgument
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