pub struct ScreenResult {
pub draft_reply: Option<String>,
pub error: Option<String>,
pub model: Option<String>,
pub score: Option<i32>,
pub screened_at: Option<i32>,
pub status: Option<String>,
pub suggested_credits: Option<i32>,
pub summary: Option<String>,
pub tier1_backed: Option<String>,
}Fields§
§draft_reply: Option<String>DraftReply is a suggested email reply for staff to edit and send.
error: Option<String>Error says why a failed screen failed — no AI gateway configured, a gateway error, or a reply that carried no parseable JSON. Absent on success.
model: Option<String>Model is the LLM the screen ran on.
score: Option<i32>Score is the model’s 0..100 fit score, clamped to that range.
screened_at: Option<i32>ScreenedAt is the unix second the screen finished (0 while pending).
status: Option<String>Status is the screen’s state: pending | done | failed.
suggested_credits: Option<i32>SuggestedCredits is the recommended credit grant in USD, snapped to the nearest allowed rung: 0 | 5000 | 25000 | 50000 | 150000.
summary: Option<String>Summary is the model’s short assessment of the application.
tier1_backed: Option<String>Tier1Backed is the model’s read on tier-1 backing, normalized to "yes", "no" or "unclear" (anything it cannot resolve reads "unclear").
Implementations§
Source§impl ScreenResult
impl ScreenResult
pub fn new() -> ScreenResult
Trait Implementations§
Source§impl Clone for ScreenResult
impl Clone for ScreenResult
Source§fn clone(&self) -> ScreenResult
fn clone(&self) -> ScreenResult
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 ScreenResult
impl Debug for ScreenResult
Source§impl Default for ScreenResult
impl Default for ScreenResult
Source§fn default() -> ScreenResult
fn default() -> ScreenResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScreenResult
impl<'de> Deserialize<'de> for ScreenResult
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 ScreenResult
impl PartialEq for ScreenResult
Source§impl Serialize for ScreenResult
impl Serialize for ScreenResult
impl StructuralPartialEq for ScreenResult
Auto Trait Implementations§
impl Freeze for ScreenResult
impl RefUnwindSafe for ScreenResult
impl Send for ScreenResult
impl Sync for ScreenResult
impl Unpin for ScreenResult
impl UnsafeUnpin for ScreenResult
impl UnwindSafe for ScreenResult
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