pub struct Feedback {
pub id: Uuid,
pub user_id: Option<Uuid>,
pub course_id: Uuid,
pub page_id: Option<Uuid>,
pub feedback_given: String,
pub selected_text: Option<String>,
pub marked_as_read: bool,
pub created_at: DateTime<Utc>,
pub blocks: Vec<FeedbackBlock>,
pub page_title: String,
pub page_url_path: String,
}
Fields§
§id: Uuid
§user_id: Option<Uuid>
§course_id: Uuid
§page_id: Option<Uuid>
§feedback_given: String
§selected_text: Option<String>
§marked_as_read: bool
§created_at: DateTime<Utc>
§blocks: Vec<FeedbackBlock>
§page_title: String
§page_url_path: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Feedback
impl<'de> Deserialize<'de> for Feedback
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
impl Eq for Feedback
impl StructuralPartialEq for Feedback
Auto Trait Implementations§
impl Freeze for Feedback
impl RefUnwindSafe for Feedback
impl Send for Feedback
impl Sync for Feedback
impl Unpin for Feedback
impl UnwindSafe for Feedback
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more