#[non_exhaustive]pub struct DecisionReplayConfig {
pub max_records: usize,
pub max_feedback_delay: u64,
pub model_generation: u64,
pub feature_schema_hash: String,
pub max_pending: usize,
pub max_completed: usize,
}Available on crate feature
bandit only.Expand description
Bounded replay configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_records: usize§max_feedback_delay: u64§model_generation: u64§feature_schema_hash: String§max_pending: usize§max_completed: usizeImplementations§
Trait Implementations§
Source§impl Clone for DecisionReplayConfig
impl Clone for DecisionReplayConfig
Source§fn clone(&self) -> DecisionReplayConfig
fn clone(&self) -> DecisionReplayConfig
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 moreSource§impl Debug for DecisionReplayConfig
impl Debug for DecisionReplayConfig
impl Eq for DecisionReplayConfig
Source§impl PartialEq for DecisionReplayConfig
impl PartialEq for DecisionReplayConfig
impl StructuralPartialEq for DecisionReplayConfig
Auto Trait Implementations§
impl Freeze for DecisionReplayConfig
impl RefUnwindSafe for DecisionReplayConfig
impl Send for DecisionReplayConfig
impl Sync for DecisionReplayConfig
impl Unpin for DecisionReplayConfig
impl UnsafeUnpin for DecisionReplayConfig
impl UnwindSafe for DecisionReplayConfig
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