pub struct HumanInTheLoopSettings {
pub require_prompt_approval: Option<bool>,
pub require_completion_approval: Option<bool>,
pub allow_prompt_modification: Option<bool>,
pub allow_completion_modification: Option<bool>,
pub approval_timeout_seconds: Option<u32>,
pub notifications: Option<NotificationSettings>,
}Expand description
Human-in-the-loop settings
Fields§
§require_prompt_approval: Option<bool>Whether to require prompt approval
require_completion_approval: Option<bool>Whether to require completion approval
allow_prompt_modification: Option<bool>Whether to allow prompt modification
allow_completion_modification: Option<bool>Whether to allow completion modification
approval_timeout_seconds: Option<u32>Approval timeout in seconds
notifications: Option<NotificationSettings>Notification settings
Trait Implementations§
Source§impl Clone for HumanInTheLoopSettings
impl Clone for HumanInTheLoopSettings
Source§fn clone(&self) -> HumanInTheLoopSettings
fn clone(&self) -> HumanInTheLoopSettings
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 HumanInTheLoopSettings
impl Debug for HumanInTheLoopSettings
Source§impl<'de> Deserialize<'de> for HumanInTheLoopSettings
impl<'de> Deserialize<'de> for HumanInTheLoopSettings
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<HumanInTheLoopSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<HumanInTheLoopSettings, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for HumanInTheLoopSettings
impl Serialize for HumanInTheLoopSettings
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for HumanInTheLoopSettings
impl RefUnwindSafe for HumanInTheLoopSettings
impl Send for HumanInTheLoopSettings
impl Sync for HumanInTheLoopSettings
impl Unpin for HumanInTheLoopSettings
impl UnwindSafe for HumanInTheLoopSettings
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