Struct cdrs::frame::frame_prepare::BodyReqPrepare
[−]
[src]
pub struct BodyReqPrepare { /* fields omitted */ }
Struct that represents a body of a frame of type prepare
Methods
impl BodyReqPrepare
[src]
fn new(query: String) -> BodyReqPrepare
Creates new body of a frame of type prepare
that prepares query query
.
Trait Implementations
impl Debug for BodyReqPrepare
[src]
impl IntoBytes for BodyReqPrepare
[src]
fn into_cbytes(&self) -> Vec<u8>
It should convert a struct into an array of bytes.