pub struct ProjectionPolicy {
pub max_curve_points: usize,
pub max_steps: usize,
}Expand description
Caps for projecting a report to chat or API consumers.
Fields§
§max_curve_points: usizeMaximum curve points kept; evenly down-sampled beyond this.
max_steps: usizeUpper bound on model steps per Run.
Trait Implementations§
Source§impl Clone for ProjectionPolicy
impl Clone for ProjectionPolicy
Source§fn clone(&self) -> ProjectionPolicy
fn clone(&self) -> ProjectionPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProjectionPolicy
Source§impl Debug for ProjectionPolicy
impl Debug for ProjectionPolicy
Source§impl Default for ProjectionPolicy
impl Default for ProjectionPolicy
impl Eq for ProjectionPolicy
Source§impl PartialEq for ProjectionPolicy
impl PartialEq for ProjectionPolicy
impl StructuralPartialEq for ProjectionPolicy
Auto Trait Implementations§
impl Freeze for ProjectionPolicy
impl RefUnwindSafe for ProjectionPolicy
impl Send for ProjectionPolicy
impl Sync for ProjectionPolicy
impl Unpin for ProjectionPolicy
impl UnsafeUnpin for ProjectionPolicy
impl UnwindSafe for ProjectionPolicy
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