pub struct ReplayDecision {
pub used_capsule: bool,
pub capsule_id: Option<CapsuleId>,
pub fallback_to_planner: bool,
pub reason: String,
pub detect_evidence: ReplayDetectEvidence,
pub select_evidence: ReplaySelectEvidence,
pub economics_evidence: ReplayRoiEvidence,
}Fields§
§used_capsule: bool§capsule_id: Option<CapsuleId>§fallback_to_planner: bool§reason: String§detect_evidence: ReplayDetectEvidence§select_evidence: ReplaySelectEvidence§economics_evidence: ReplayRoiEvidenceTrait Implementations§
Source§impl Clone for ReplayDecision
impl Clone for ReplayDecision
Source§fn clone(&self) -> ReplayDecision
fn clone(&self) -> ReplayDecision
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 ReplayDecision
impl Debug for ReplayDecision
Source§impl<'de> Deserialize<'de> for ReplayDecision
impl<'de> Deserialize<'de> for ReplayDecision
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 ReplayDecision
impl PartialEq for ReplayDecision
Source§impl Serialize for ReplayDecision
impl Serialize for ReplayDecision
impl StructuralPartialEq for ReplayDecision
Auto Trait Implementations§
impl Freeze for ReplayDecision
impl RefUnwindSafe for ReplayDecision
impl Send for ReplayDecision
impl Sync for ReplayDecision
impl Unpin for ReplayDecision
impl UnsafeUnpin for ReplayDecision
impl UnwindSafe for ReplayDecision
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