Struct cdrs::types::CStringLong
[−]
[src]
pub struct CStringLong { /* fields omitted */ }
Methods
impl CStringLong
[src]
fn new(string: String) -> CStringLong
fn as_str<'a>(&'a self) -> &'a str
Converts internal value into pointer of str
.
fn into_plain(self) -> String
Converts internal value into a plain String
.
Trait Implementations
impl Debug for CStringLong
[src]
impl Clone for CStringLong
[src]
fn clone(&self) -> CStringLong
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl IntoBytes for CStringLong
[src]
fn into_cbytes(&self) -> Vec<u8>
Converts into Cassandra byte representation of [string]
impl FromCursor for CStringLong
[src]
fn from_cursor(cursor: &mut Cursor<&[u8]>) -> CDRSResult<CStringLong>
from_cursor gets Cursor who's position is set such that it should be a start of a [string]. It reads required number of bytes and returns a String