Struct scylla_cql::frame::response::result::RawMetadataAndRawRows
source · pub struct RawMetadataAndRawRows { /* private fields */ }
Expand description
RESULT:Rows response, in partially serialized form.
Flags and paging state are deserialized, remaining part of metadata as well as rows remain serialized.
Implementations§
source§impl RawMetadataAndRawRows
impl RawMetadataAndRawRows
sourcepub fn mock_empty() -> Self
pub fn mock_empty() -> Self
Creates an empty RawMetadataAndRawRows.
sourcepub fn metadata_and_rows_bytes_size(&self) -> usize
pub fn metadata_and_rows_bytes_size(&self) -> usize
Returns the serialized size of the raw metadata + raw rows.
source§impl RawMetadataAndRawRows
impl RawMetadataAndRawRows
sourcepub fn deserialize_metadata(
self,
) -> StdResult<DeserializedMetadataAndRawRows, ResultMetadataAndRowsCountParseError>
pub fn deserialize_metadata( self, ) -> StdResult<DeserializedMetadataAndRawRows, ResultMetadataAndRowsCountParseError>
Deserializes ResultMetadata and deserializes rows count. Keeps rows in the serialized form.
If metadata is cached (in the PreparedStatement), it is reused (shared) from cache instead of deserializing.
Trait Implementations§
source§impl Clone for RawMetadataAndRawRows
impl Clone for RawMetadataAndRawRows
source§fn clone(&self) -> RawMetadataAndRawRows
fn clone(&self) -> RawMetadataAndRawRows
Returns a copy 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 moreAuto Trait Implementations§
impl !Freeze for RawMetadataAndRawRows
impl RefUnwindSafe for RawMetadataAndRawRows
impl Send for RawMetadataAndRawRows
impl Sync for RawMetadataAndRawRows
impl Unpin for RawMetadataAndRawRows
impl UnwindSafe for RawMetadataAndRawRows
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)