pub struct Prepared {
pub id: Bytes,
pub prepared_metadata: PreparedMetadata,
pub result_metadata: ResultMetadata<'static>,
}
Expand description
Represents a CQL RESULT::Prepared
response,
which is sent in response to a PREPARE
request.
Fields§
§id: Bytes
ID of the prepared statement.
prepared_metadata: PreparedMetadata
Metadata about the bound values which need to be provided by the driver when the prepared statement is executed.
result_metadata: ResultMetadata<'static>
Metadata about the result set which will be returned by the server when the prepared statement is executed.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Prepared
impl RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Prepared
impl Unpin for Prepared
impl UnwindSafe for Prepared
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> 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