pub enum Operation {
Upsert(PointStructList),
DeleteDeprecated(PointsSelector),
SetPayload(SetPayload),
OverwritePayload(OverwritePayload),
DeletePayload(DeletePayload),
ClearPayloadDeprecated(PointsSelector),
UpdateVectors(UpdateVectors),
DeleteVectors(DeleteVectors),
DeletePoints(DeletePoints),
ClearPayload(ClearPayload),
}
Variants§
Upsert(PointStructList)
DeleteDeprecated(PointsSelector)
👎Deprecated since 1.7.0: use
DeletePoints
insteadSetPayload(SetPayload)
OverwritePayload(OverwritePayload)
DeletePayload(DeletePayload)
ClearPayloadDeprecated(PointsSelector)
👎Deprecated since 1.7.0: use
ClearPayload
insteadUpdateVectors(UpdateVectors)
DeleteVectors(DeleteVectors)
DeletePoints(DeletePoints)
ClearPayload(ClearPayload)
Implementations§
source§impl Operation
impl Operation
sourcepub fn merge(
field: &mut Option<Operation>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<Operation>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl From<ClearPayload> for Operation
impl From<ClearPayload> for Operation
source§fn from(value: ClearPayload) -> Self
fn from(value: ClearPayload) -> Self
Converts to this type from the input type.
source§impl From<DeletePayload> for Operation
impl From<DeletePayload> for Operation
source§fn from(value: DeletePayload) -> Self
fn from(value: DeletePayload) -> Self
Converts to this type from the input type.
source§impl From<DeletePoints> for Operation
impl From<DeletePoints> for Operation
source§fn from(value: DeletePoints) -> Self
fn from(value: DeletePoints) -> Self
Converts to this type from the input type.
source§impl From<DeleteVectors> for Operation
impl From<DeleteVectors> for Operation
source§fn from(value: DeleteVectors) -> Self
fn from(value: DeleteVectors) -> Self
Converts to this type from the input type.
source§impl From<Operation> for PointsUpdateOperation
impl From<Operation> for PointsUpdateOperation
source§impl From<OverwritePayload> for Operation
impl From<OverwritePayload> for Operation
source§fn from(value: OverwritePayload) -> Self
fn from(value: OverwritePayload) -> Self
Converts to this type from the input type.
source§impl From<PointStructList> for Operation
impl From<PointStructList> for Operation
source§fn from(value: PointStructList) -> Self
fn from(value: PointStructList) -> Self
Converts to this type from the input type.
source§impl From<SetPayload> for Operation
impl From<SetPayload> for Operation
source§fn from(value: SetPayload) -> Self
fn from(value: SetPayload) -> Self
Converts to this type from the input type.
source§impl From<UpdateVectors> for Operation
impl From<UpdateVectors> for Operation
source§fn from(value: UpdateVectors) -> Self
fn from(value: UpdateVectors) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request