pub struct LlmBridge {
pub allowed_actions: BTreeSet<String>,
}Fields§
§allowed_actions: BTreeSet<String>Implementations§
Source§impl LlmBridge
impl LlmBridge
pub fn new<I, S>(actions: I) -> Self
pub fn validate_proposal(&self, action: &str, rationale: &str) -> LlmProposal
pub fn validate_json_proposal(&self, raw_json: &str) -> SchemaResult
Trait Implementations§
Auto Trait Implementations§
impl Forget for LlmBridge
impl Freeze for LlmBridgewhere
*const LeafNode<String, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SetValZST)>>: Freeze,
impl Move for LlmBridge
impl RefUnwindSafe for LlmBridge
impl Send for LlmBridge
impl Sync for LlmBridge
impl Unpin for LlmBridge
impl UnsafeUnpin for LlmBridgewhere
*const LeafNode<String, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for LlmBridge
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