pub struct PromotionGateDecision {
pub candidate_id: String,
pub status: TeacherCandidateStatus,
pub score_delta: i32,
pub cost_delta_microusd: i64,
pub reasons: Vec<String>,
}Fields§
§candidate_id: String§status: TeacherCandidateStatus§score_delta: i32§cost_delta_microusd: i64§reasons: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for PromotionGateDecision
impl Clone for PromotionGateDecision
Source§fn clone(&self) -> PromotionGateDecision
fn clone(&self) -> PromotionGateDecision
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 PromotionGateDecision
impl Debug for PromotionGateDecision
Source§impl<'de> Deserialize<'de> for PromotionGateDecision
impl<'de> Deserialize<'de> for PromotionGateDecision
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
impl Eq for PromotionGateDecision
Source§impl PartialEq for PromotionGateDecision
impl PartialEq for PromotionGateDecision
Source§fn eq(&self, other: &PromotionGateDecision) -> bool
fn eq(&self, other: &PromotionGateDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PromotionGateDecision
impl Serialize for PromotionGateDecision
impl StructuralPartialEq for PromotionGateDecision
Auto Trait Implementations§
impl Freeze for PromotionGateDecision
impl RefUnwindSafe for PromotionGateDecision
impl Send for PromotionGateDecision
impl Sync for PromotionGateDecision
impl Unpin for PromotionGateDecision
impl UnsafeUnpin for PromotionGateDecision
impl UnwindSafe for PromotionGateDecision
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