pub struct CapsuleOutcome {
pub status: CapsuleStatus,
pub score: f32,
pub note: Option<String>,
}Expand description
Outcome result
Fields§
§status: CapsuleStatusStatus: success or failed
score: f32Score from 0.0 to 1.0
note: Option<String>Optional note
Trait Implementations§
Source§impl Clone for CapsuleOutcome
impl Clone for CapsuleOutcome
Source§fn clone(&self) -> CapsuleOutcome
fn clone(&self) -> CapsuleOutcome
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 CapsuleOutcome
impl Debug for CapsuleOutcome
Source§impl Default for CapsuleOutcome
impl Default for CapsuleOutcome
Source§impl<'de> Deserialize<'de> for CapsuleOutcome
impl<'de> Deserialize<'de> for CapsuleOutcome
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
Auto Trait Implementations§
impl Freeze for CapsuleOutcome
impl RefUnwindSafe for CapsuleOutcome
impl Send for CapsuleOutcome
impl Sync for CapsuleOutcome
impl Unpin for CapsuleOutcome
impl UnsafeUnpin for CapsuleOutcome
impl UnwindSafe for CapsuleOutcome
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