pub struct FeedbackSubmitParams {
pub score: i32,
pub useful: bool,
pub session_id: Option<String>,
}Expand description
Arguments for crate::resources::Feedback::submit.
Fields§
§score: i32User rating (e.g. 0-10 / NPS-style).
useful: boolWhether the response was useful.
session_id: Option<String>Optional; defaults to the most recent session for the key.
Trait Implementations§
Source§impl Clone for FeedbackSubmitParams
impl Clone for FeedbackSubmitParams
Source§fn clone(&self) -> FeedbackSubmitParams
fn clone(&self) -> FeedbackSubmitParams
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 FeedbackSubmitParams
impl Debug for FeedbackSubmitParams
Auto Trait Implementations§
impl Freeze for FeedbackSubmitParams
impl RefUnwindSafe for FeedbackSubmitParams
impl Send for FeedbackSubmitParams
impl Sync for FeedbackSubmitParams
impl Unpin for FeedbackSubmitParams
impl UnsafeUnpin for FeedbackSubmitParams
impl UnwindSafe for FeedbackSubmitParams
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