pub struct SearchOption { /* private fields */ }
Implementations§
Source§impl SearchOption
impl SearchOption
pub fn new() -> Self
pub fn set_expr<S: Into<String>>(&mut self, expr: S) -> &mut Self
pub fn set_partitions<I>(&mut self, partitions: I) -> &mut Self
pub fn add_param<S: Into<String>>( &mut self, key: S, value: ParamValue, ) -> &mut Self
pub fn set_consistency_level(&mut self, level: ConsistencyLevel) -> &mut Self
Trait Implementations§
Source§impl Debug for SearchOption
impl Debug for SearchOption
Source§impl Default for SearchOption
impl Default for SearchOption
Source§fn default() -> SearchOption
fn default() -> SearchOption
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SearchOption
impl RefUnwindSafe for SearchOption
impl Send for SearchOption
impl Sync for SearchOption
impl Unpin for SearchOption
impl UnwindSafe for SearchOption
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> 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