Struct tea_sdk::vmh::state::dump::DumpGluedbDataResponse
pub struct DumpGluedbDataResponse {
pub tables: HashMap<String, Value>,
}
Fields§
§tables: HashMap<String, Value>
Implementations§
§impl DumpGluedbDataResponse
impl DumpGluedbDataResponse
pub fn first_row(&self, table: &str) -> Result<&Value, Global>
pub fn get_row_at(&self, table: &str, index: usize) -> Result<&Value, Global>
pub fn get_table_rows(&self, table: &str) -> Result<&Vec<Value>, Global>
pub fn get_table(&self, table: &str) -> Result<&Value, Global>
pub fn is_table_empty(&self, table: &str) -> Result<bool, Global>
Trait Implementations§
§impl Debug for DumpGluedbDataResponse
impl Debug for DumpGluedbDataResponse
§impl Default for DumpGluedbDataResponse
impl Default for DumpGluedbDataResponse
§fn default() -> DumpGluedbDataResponse
fn default() -> DumpGluedbDataResponse
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for DumpGluedbDataResponse
impl<'de> Deserialize<'de> for DumpGluedbDataResponse
§fn deserialize<__D>(
__deserializer: __D
) -> Result<DumpGluedbDataResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DumpGluedbDataResponse, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<DumpGluedbDataResponse> for DumpGluedbDataSorted
impl From<DumpGluedbDataResponse> for DumpGluedbDataSorted
§fn from(value: DumpGluedbDataResponse) -> DumpGluedbDataSorted
fn from(value: DumpGluedbDataResponse) -> DumpGluedbDataSorted
Converts to this type from the input type.
§impl Serialize for DumpGluedbDataResponse
impl Serialize for DumpGluedbDataResponse
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DumpGluedbDataResponse
impl Send for DumpGluedbDataResponse
impl Sync for DumpGluedbDataResponse
impl Unpin for DumpGluedbDataResponse
impl UnwindSafe for DumpGluedbDataResponse
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