pub struct SessionSearchMutation {
pub event_id: String,
pub source_revision: u64,
pub projection_version: String,
pub operation: SessionSearchMutationOperation,
pub scope_fingerprint: String,
pub document: Option<SessionSearchDocument>,
pub session_id: Option<SessionId>,
pub run_id: Option<RunId>,
}Expand description
Versioned, idempotent search-index mutation.
Fields§
§event_id: StringGlobally stable event id within the source namespace.
source_revision: u64Monotonic source revision. Older revisions must never replace newer ones.
projection_version: StringProjection/redaction schema revision.
operation: SessionSearchMutationOperationOperation.
scope_fingerprint: StringHost authorization-scope fingerprint, never a caller-selected tenant id.
document: Option<SessionSearchDocument>Redacted document for upserts; omitted for tombstones/resets.
session_id: Option<SessionId>Session targeted by delete/reset operations.
run_id: Option<RunId>Run targeted by a run delete.
Trait Implementations§
Source§impl Clone for SessionSearchMutation
impl Clone for SessionSearchMutation
Source§fn clone(&self) -> SessionSearchMutation
fn clone(&self) -> SessionSearchMutation
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 SessionSearchMutation
impl Debug for SessionSearchMutation
Source§impl<'de> Deserialize<'de> for SessionSearchMutation
impl<'de> Deserialize<'de> for SessionSearchMutation
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 SessionSearchMutation
Source§impl PartialEq for SessionSearchMutation
impl PartialEq for SessionSearchMutation
Source§impl Serialize for SessionSearchMutation
impl Serialize for SessionSearchMutation
impl StructuralPartialEq for SessionSearchMutation
Auto Trait Implementations§
impl Freeze for SessionSearchMutation
impl RefUnwindSafe for SessionSearchMutation
impl Send for SessionSearchMutation
impl Sync for SessionSearchMutation
impl Unpin for SessionSearchMutation
impl UnsafeUnpin for SessionSearchMutation
impl UnwindSafe for SessionSearchMutation
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