pub struct ChainSchema {
pub chain: String,
pub cluster_id: String,
pub tables: Vec<TableSchema>,
}Expand description
Response from get_schema: the schema for a single chain/cluster.
Fields§
§chain: StringHuman-readable chain name (e.g. "Hyperliquid (HyperCore)").
cluster_id: StringCluster identifier the schema belongs to.
tables: Vec<TableSchema>Tables available in this cluster.
Trait Implementations§
Source§impl Clone for ChainSchema
impl Clone for ChainSchema
Source§fn clone(&self) -> ChainSchema
fn clone(&self) -> ChainSchema
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChainSchema
impl Debug for ChainSchema
Source§impl<'de> Deserialize<'de> for ChainSchema
impl<'de> Deserialize<'de> for ChainSchema
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
Auto Trait Implementations§
impl Freeze for ChainSchema
impl RefUnwindSafe for ChainSchema
impl Send for ChainSchema
impl Sync for ChainSchema
impl Unpin for ChainSchema
impl UnsafeUnpin for ChainSchema
impl UnwindSafe for ChainSchema
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