pub struct ViewConfig {
pub samples: u8,
pub strength_target: Option<u8>,
pub held_out: bool,
pub acceptance: bool,
}Expand description
What the views need from the configuration.
Fields§
§samples: u8[review] oracle_samples.
strength_target: Option<u8>[acceptance] min_strength, as a percentage.
held_out: bool[acceptance] held_out.
acceptance: bool[acceptance] generate.
Implementations§
Trait Implementations§
Source§impl Clone for ViewConfig
impl Clone for ViewConfig
impl Copy for ViewConfig
Auto Trait Implementations§
impl Freeze for ViewConfig
impl RefUnwindSafe for ViewConfig
impl Send for ViewConfig
impl Sync for ViewConfig
impl Unpin for ViewConfig
impl UnsafeUnpin for ViewConfig
impl UnwindSafe for ViewConfig
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