pub struct StorageQueryOutput {
pub resp: ScanResponse,
/* private fields */
}
Fields§
§resp: ScanResponse
Implementations§
source§impl StorageQueryOutput
impl StorageQueryOutput
pub fn new(resp: ScanResponse, timezone_info: TimezoneInfo) -> Self
source§impl StorageQueryOutput
impl StorageQueryOutput
pub fn dataset(&self) -> Option<&DataSetWrapper>
pub fn mut_dataset(&mut self) -> Option<&mut DataSetWrapper>
pub fn as_string_table(&self) -> Option<Vec<Vec<String>>>
pub fn get_values_by_col_name( &self, col_name: &str, ) -> Result<Vec<ValueWrapper<'_>>, DataSetError>
pub fn get_row_values_by_index( &self, index: usize, ) -> Result<Record<'_>, DataSetError>
pub fn scan<D>(&self) -> Result<Vec<D>, DataSetError>where
D: DeserializeOwned,
pub fn get_row_size(&self) -> usize
pub fn get_col_size(&self) -> usize
pub fn get_rows(&self) -> Option<&Vec<Row>>
pub fn get_col_names(&self) -> Option<&Vec<Vec<u8>>>
pub fn is_empty(&self) -> bool
Trait Implementations§
source§impl Debug for StorageQueryOutput
impl Debug for StorageQueryOutput
Auto Trait Implementations§
impl Freeze for StorageQueryOutput
impl RefUnwindSafe for StorageQueryOutput
impl Send for StorageQueryOutput
impl Sync for StorageQueryOutput
impl Unpin for StorageQueryOutput
impl UnwindSafe for StorageQueryOutput
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