pub struct PredictEditsBody {
pub outline: Option<String>,
pub input_events: String,
pub input_excerpt: String,
pub speculated_output: Option<String>,
pub can_collect_data: bool,
pub diagnostic_groups: Option<Vec<(String, Value)>>,
}
Fields§
§outline: Option<String>
§input_events: String
§input_excerpt: String
§speculated_output: Option<String>
§can_collect_data: bool
Whether the user provided consent for sampling this interaction.
diagnostic_groups: Option<Vec<(String, Value)>>
Trait Implementations§
Source§impl Clone for PredictEditsBody
impl Clone for PredictEditsBody
Source§fn clone(&self) -> PredictEditsBody
fn clone(&self) -> PredictEditsBody
Returns a copy 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 PredictEditsBody
impl Debug for PredictEditsBody
Source§impl<'de> Deserialize<'de> for PredictEditsBody
impl<'de> Deserialize<'de> for PredictEditsBody
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 PredictEditsBody
impl RefUnwindSafe for PredictEditsBody
impl Send for PredictEditsBody
impl Sync for PredictEditsBody
impl Unpin for PredictEditsBody
impl UnwindSafe for PredictEditsBody
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