pub struct PromptArgumentTemplate {
pub name: String,
pub description: Option<String>,
pub required: Option<bool>,
}
Expand description
A template for a prompt argument, this should be identical to PromptArgument
Fields§
§name: String
§description: Option<String>
§required: Option<bool>
Trait Implementations§
Source§impl Debug for PromptArgumentTemplate
impl Debug for PromptArgumentTemplate
Source§impl<'de> Deserialize<'de> for PromptArgumentTemplate
impl<'de> Deserialize<'de> for PromptArgumentTemplate
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 Freeze for PromptArgumentTemplate
impl RefUnwindSafe for PromptArgumentTemplate
impl Send for PromptArgumentTemplate
impl Sync for PromptArgumentTemplate
impl Unpin for PromptArgumentTemplate
impl UnwindSafe for PromptArgumentTemplate
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