pub struct ReviewConfig {
pub run: Option<String>,
pub max_reopens: u32,
}Expand description
Configuration for the adversarial review feature (bn review / bn run --review).
Fields§
§run: Option<String>Shell command template for the review agent. Use {id} as placeholder for bean ID.
If unset, falls back to the global run template.
max_reopens: u32Maximum number of times review can reopen a bean before giving up (default: 2).
Trait Implementations§
Source§impl Clone for ReviewConfig
impl Clone for ReviewConfig
Source§fn clone(&self) -> ReviewConfig
fn clone(&self) -> ReviewConfig
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 ReviewConfig
impl Debug for ReviewConfig
Source§impl Default for ReviewConfig
impl Default for ReviewConfig
Source§impl<'de> Deserialize<'de> for ReviewConfig
impl<'de> Deserialize<'de> for ReviewConfig
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 ReviewConfig
impl PartialEq for ReviewConfig
Source§impl Serialize for ReviewConfig
impl Serialize for ReviewConfig
impl StructuralPartialEq for ReviewConfig
Auto Trait Implementations§
impl Freeze for ReviewConfig
impl RefUnwindSafe for ReviewConfig
impl Send for ReviewConfig
impl Sync for ReviewConfig
impl Unpin for ReviewConfig
impl UnsafeUnpin for ReviewConfig
impl UnwindSafe for ReviewConfig
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