pub struct OnchainDataSchemaResponse {
pub tables: Vec<OnchainDataTableSchema>,
}Expand description
Schema information for available blockchain data tables.
JSON schema
{
"description": "Schema information for available blockchain data tables.",
"type": "object",
"properties": {
"tables": {
"description": "List of available tables.",
"examples": [
[
{
"columns": [
{
"description": "The signature of the decoded event log.",
"indexOrder": 0,
"name": "event_signature",
"nullable": false,
"type": "String"
}
],
"database": "base",
"table": "events"
}
]
],
"type": "array",
"items": {
"$ref": "#/components/schemas/OnchainDataTableSchema"
}
}
}
}Fields§
§tables: Vec<OnchainDataTableSchema>List of available tables.
Implementations§
Source§impl OnchainDataSchemaResponse
impl OnchainDataSchemaResponse
pub fn builder() -> OnchainDataSchemaResponse
Trait Implementations§
Source§impl Clone for OnchainDataSchemaResponse
impl Clone for OnchainDataSchemaResponse
Source§fn clone(&self) -> OnchainDataSchemaResponse
fn clone(&self) -> OnchainDataSchemaResponse
Returns a duplicate 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 moreSource§impl Debug for OnchainDataSchemaResponse
impl Debug for OnchainDataSchemaResponse
Source§impl Default for OnchainDataSchemaResponse
impl Default for OnchainDataSchemaResponse
Source§impl<'de> Deserialize<'de> for OnchainDataSchemaResponse
impl<'de> Deserialize<'de> for OnchainDataSchemaResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&OnchainDataSchemaResponse> for OnchainDataSchemaResponse
impl From<&OnchainDataSchemaResponse> for OnchainDataSchemaResponse
Source§fn from(value: &OnchainDataSchemaResponse) -> Self
fn from(value: &OnchainDataSchemaResponse) -> Self
Converts to this type from the input type.
Source§impl From<OnchainDataSchemaResponse> for OnchainDataSchemaResponse
impl From<OnchainDataSchemaResponse> for OnchainDataSchemaResponse
Source§fn from(value: OnchainDataSchemaResponse) -> Self
fn from(value: OnchainDataSchemaResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<OnchainDataSchemaResponse> for OnchainDataSchemaResponse
impl TryFrom<OnchainDataSchemaResponse> for OnchainDataSchemaResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: OnchainDataSchemaResponse) -> Result<Self, ConversionError>
fn try_from(value: OnchainDataSchemaResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OnchainDataSchemaResponse
impl RefUnwindSafe for OnchainDataSchemaResponse
impl Send for OnchainDataSchemaResponse
impl Sync for OnchainDataSchemaResponse
impl Unpin for OnchainDataSchemaResponse
impl UnsafeUnpin for OnchainDataSchemaResponse
impl UnwindSafe for OnchainDataSchemaResponse
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