pub struct SessionSearchDocument {
pub document_id: String,
pub session_id: SessionId,
pub run_id: Option<RunId>,
pub source: SessionSearchSource,
pub text: String,
pub content_digest: String,
pub updated_at: DateTime<Utc>,
}Expand description
Redacted document accepted by optional index writers.
Fields§
§document_id: StringStable opaque document id.
session_id: SessionIdOwning session.
run_id: Option<RunId>Optional owning run.
source: SessionSearchSourceProjection family.
text: StringAlready-redacted text.
content_digest: StringSource content digest.
updated_at: DateTime<Utc>Source update time.
Trait Implementations§
Source§impl Clone for SessionSearchDocument
impl Clone for SessionSearchDocument
Source§fn clone(&self) -> SessionSearchDocument
fn clone(&self) -> SessionSearchDocument
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 SessionSearchDocument
impl Debug for SessionSearchDocument
Source§impl<'de> Deserialize<'de> for SessionSearchDocument
impl<'de> Deserialize<'de> for SessionSearchDocument
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 SessionSearchDocument
Source§impl PartialEq for SessionSearchDocument
impl PartialEq for SessionSearchDocument
Source§impl Serialize for SessionSearchDocument
impl Serialize for SessionSearchDocument
impl StructuralPartialEq for SessionSearchDocument
Auto Trait Implementations§
impl Freeze for SessionSearchDocument
impl RefUnwindSafe for SessionSearchDocument
impl Send for SessionSearchDocument
impl Sync for SessionSearchDocument
impl Unpin for SessionSearchDocument
impl UnsafeUnpin for SessionSearchDocument
impl UnwindSafe for SessionSearchDocument
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