pub struct AllowedPrompt {
pub tool: String,
pub prompt: String,
}Expand description
An allowed prompt permission for plan mode.
Fields§
§tool: StringThe tool this prompt applies to
prompt: StringSemantic description of the action
Trait Implementations§
Source§impl Clone for AllowedPrompt
impl Clone for AllowedPrompt
Source§fn clone(&self) -> AllowedPrompt
fn clone(&self) -> AllowedPrompt
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 AllowedPrompt
impl Debug for AllowedPrompt
Source§impl<'de> Deserialize<'de> for AllowedPrompt
impl<'de> Deserialize<'de> for AllowedPrompt
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 AllowedPrompt
impl PartialEq for AllowedPrompt
Source§impl Serialize for AllowedPrompt
impl Serialize for AllowedPrompt
impl StructuralPartialEq for AllowedPrompt
Auto Trait Implementations§
impl Freeze for AllowedPrompt
impl RefUnwindSafe for AllowedPrompt
impl Send for AllowedPrompt
impl Sync for AllowedPrompt
impl Unpin for AllowedPrompt
impl UnsafeUnpin for AllowedPrompt
impl UnwindSafe for AllowedPrompt
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