pub struct SearchHistoryEntry {
pub entry_id: Uuid,
pub query_id: Uuid,
pub entry_type: SearchHistoryEntryType,
pub content: String,
pub query_type: Option<String>,
pub user_id: Option<Uuid>,
pub created_at: DateTime<Utc>,
}Fields§
§entry_id: Uuid§query_id: Uuid§entry_type: SearchHistoryEntryType§content: String§query_type: Option<String>§user_id: Option<Uuid>§created_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for SearchHistoryEntry
impl Clone for SearchHistoryEntry
Source§fn clone(&self) -> SearchHistoryEntry
fn clone(&self) -> SearchHistoryEntry
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 SearchHistoryEntry
impl Debug for SearchHistoryEntry
Source§impl<'de> Deserialize<'de> for SearchHistoryEntry
impl<'de> Deserialize<'de> for SearchHistoryEntry
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 SearchHistoryEntry
impl RefUnwindSafe for SearchHistoryEntry
impl Send for SearchHistoryEntry
impl Sync for SearchHistoryEntry
impl Unpin for SearchHistoryEntry
impl UnsafeUnpin for SearchHistoryEntry
impl UnwindSafe for SearchHistoryEntry
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