pub struct CorrectionFeedback {
pub request_id: String,
pub original_hash: String,
pub corrected_hash: String,
pub edit_distance: Option<u32>,
pub correction_type: Option<String>,
pub timestamp: f64,
}Expand description
Correction feedback.
Fields§
§request_id: String§original_hash: String§corrected_hash: String§edit_distance: Option<u32>§correction_type: Option<String>§timestamp: f64Implementations§
Trait Implementations§
Source§impl Clone for CorrectionFeedback
impl Clone for CorrectionFeedback
Source§fn clone(&self) -> CorrectionFeedback
fn clone(&self) -> CorrectionFeedback
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 CorrectionFeedback
impl Debug for CorrectionFeedback
Source§impl<'de> Deserialize<'de> for CorrectionFeedback
impl<'de> Deserialize<'de> for CorrectionFeedback
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 CorrectionFeedback
impl RefUnwindSafe for CorrectionFeedback
impl Send for CorrectionFeedback
impl Sync for CorrectionFeedback
impl Unpin for CorrectionFeedback
impl UnwindSafe for CorrectionFeedback
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