pub struct SearchPublicationPlan<'a> {
pub key: &'a SearchArtifactKey,
pub backend_version: &'a str,
pub contract_version: &'a str,
pub dimension: Option<u32>,
pub mode: SearchPublicationMode,
}Expand description
Immutable publication parameters supplied by a concrete backend.
Fields§
§key: &'a SearchArtifactKeyNormalized artifact identity.
backend_version: &'a strPinned backend version.
contract_version: &'a strPinned scoring/tokenization/vector contract version.
dimension: Option<u32>Required vector dimension; absent for text.
mode: SearchPublicationModeFresh reuse or forced replacement.
Trait Implementations§
Source§impl<'a> Clone for SearchPublicationPlan<'a>
impl<'a> Clone for SearchPublicationPlan<'a>
impl<'a> Copy for SearchPublicationPlan<'a>
Auto Trait Implementations§
impl<'a> Freeze for SearchPublicationPlan<'a>
impl<'a> RefUnwindSafe for SearchPublicationPlan<'a>
impl<'a> Send for SearchPublicationPlan<'a>
impl<'a> Sync for SearchPublicationPlan<'a>
impl<'a> Unpin for SearchPublicationPlan<'a>
impl<'a> UnsafeUnpin for SearchPublicationPlan<'a>
impl<'a> UnwindSafe for SearchPublicationPlan<'a>
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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