pub struct QueryRowArgs {
pub database: String,
pub table: String,
pub primary_key: Value,
pub partition_key: Option<Value>,
pub projections: Option<Vec<String>>,
pub retrieve_vector: Option<bool>,
pub read_consistency: Option<ReadConsistency>,
}Expand description
query row args response with QueryRowsResponse query single row by primary key
Fields§
§database: String§table: String§primary_key: Value§partition_key: Option<Value>§projections: Option<Vec<String>>projection field list, default to empty. When empty, the query result returns all scalar fields by default
retrieve_vector: Option<bool>whether to return the vector field values in the query result record
read_consistency: Option<ReadConsistency>consistency level of query request, EVENT (default): final consistency, STRONG: strong Consistency
Trait Implementations§
Source§impl Clone for QueryRowArgs
impl Clone for QueryRowArgs
Source§fn clone(&self) -> QueryRowArgs
fn clone(&self) -> QueryRowArgs
Returns a duplicate of the value. Read more
1.0.0 · 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 QueryRowArgs
impl Debug for QueryRowArgs
Source§impl IntoRequest for QueryRowArgs
impl IntoRequest for QueryRowArgs
fn into_request( self, config: &ClientConfiguration, client: &ClientWithMiddleware, ) -> RequestBuilder
Auto Trait Implementations§
impl Freeze for QueryRowArgs
impl RefUnwindSafe for QueryRowArgs
impl Send for QueryRowArgs
impl Sync for QueryRowArgs
impl Unpin for QueryRowArgs
impl UnwindSafe for QueryRowArgs
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