pub struct IndexedDocument {
pub event_id: Uuid,
pub tenant_id: String,
pub event_type: String,
pub entity_id: Option<String>,
pub payload_text: String,
}Expand description
A document indexed in the keyword search engine
Fields§
§event_id: Uuid§tenant_id: String§event_type: String§entity_id: Option<String>§payload_text: StringTrait Implementations§
Source§impl Clone for IndexedDocument
impl Clone for IndexedDocument
Source§fn clone(&self) -> IndexedDocument
fn clone(&self) -> IndexedDocument
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 moreAuto Trait Implementations§
impl Freeze for IndexedDocument
impl RefUnwindSafe for IndexedDocument
impl Send for IndexedDocument
impl Sync for IndexedDocument
impl Unpin for IndexedDocument
impl UnsafeUnpin for IndexedDocument
impl UnwindSafe for IndexedDocument
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