[−][src]Struct scylla::statement::prepared_statement::PreparedStatement   
Represents a statement prepared on the server.
Implementations
impl PreparedStatement[src]
pub fn new(id: Bytes, metadata: PreparedMetadata, statement: String) -> Self[src]
pub fn get_id(&self) -> &Bytes[src]
pub fn get_statement(&self) -> &str[src]
pub fn set_page_size(&mut self, page_size: i32)[src]
Sets the page size for this CQL query.
pub fn disable_paging(&mut self)[src]
Disables paging for this CQL query.
pub fn get_page_size(&self) -> Option<i32>[src]
Returns the page size for this CQL query.
pub fn compute_partition_key(&self, bound_values: &[Value]) -> Bytes[src]
Computes the partition key of the target table from given values Partition keys have a specific serialization rules. Ref: https://github.com/scylladb/scylla/blob/40adf38915b6d8f5314c621a94d694d172360833/compound_compat.hh#L33-L47
Trait Implementations
impl Clone for PreparedStatement[src]
fn clone(&self) -> PreparedStatement[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PreparedStatement[src]
Auto Trait Implementations
impl RefUnwindSafe for PreparedStatement
impl Send for PreparedStatement
impl Sync for PreparedStatement
impl Unpin for PreparedStatement
impl UnwindSafe for PreparedStatement
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, [src]
V: MultiLane<T>,