pub struct OnchainDataResultSchemaColumnsItem {
pub name: Option<String>,
pub type_: Option<OnchainDataResultSchemaColumnsItemType>,
}
Expand description
OnchainDataResultSchemaColumnsItem
JSON schema
{
"examples": [
{
"description": "The signature of the event.",
"name": "event_signature",
"type": "String"
}
],
"type": "object",
"properties": {
"name": {
"description": "Column name.",
"type": "string"
},
"type": {
"description": "Column data type (ClickHouse types).",
"type": "string",
"enum": [
"String",
"UInt8",
"UInt16",
"UInt32",
"UInt64",
"UInt128",
"UInt256",
"Int8",
"Int16",
"Int32",
"Int64",
"Int128",
"Int256",
"Float32",
"Float64",
"Bool",
"Date",
"DateTime",
"DateTime64",
"UUID"
]
}
}
}
Fields§
§name: Option<String>
Column name.
type_: Option<OnchainDataResultSchemaColumnsItemType>
Column data type (ClickHouse types).
Implementations§
Trait Implementations§
Source§impl Clone for OnchainDataResultSchemaColumnsItem
impl Clone for OnchainDataResultSchemaColumnsItem
Source§fn clone(&self) -> OnchainDataResultSchemaColumnsItem
fn clone(&self) -> OnchainDataResultSchemaColumnsItem
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<'de> Deserialize<'de> for OnchainDataResultSchemaColumnsItem
impl<'de> Deserialize<'de> for OnchainDataResultSchemaColumnsItem
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<&OnchainDataResultSchemaColumnsItem> for OnchainDataResultSchemaColumnsItem
impl From<&OnchainDataResultSchemaColumnsItem> for OnchainDataResultSchemaColumnsItem
Source§fn from(value: &OnchainDataResultSchemaColumnsItem) -> Self
fn from(value: &OnchainDataResultSchemaColumnsItem) -> Self
Converts to this type from the input type.
Source§impl From<OnchainDataResultSchemaColumnsItem> for OnchainDataResultSchemaColumnsItem
impl From<OnchainDataResultSchemaColumnsItem> for OnchainDataResultSchemaColumnsItem
Source§fn from(value: OnchainDataResultSchemaColumnsItem) -> Self
fn from(value: OnchainDataResultSchemaColumnsItem) -> Self
Converts to this type from the input type.
Source§impl TryFrom<OnchainDataResultSchemaColumnsItem> for OnchainDataResultSchemaColumnsItem
impl TryFrom<OnchainDataResultSchemaColumnsItem> for OnchainDataResultSchemaColumnsItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: OnchainDataResultSchemaColumnsItem,
) -> Result<Self, ConversionError>
fn try_from( value: OnchainDataResultSchemaColumnsItem, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OnchainDataResultSchemaColumnsItem
impl RefUnwindSafe for OnchainDataResultSchemaColumnsItem
impl Send for OnchainDataResultSchemaColumnsItem
impl Sync for OnchainDataResultSchemaColumnsItem
impl Unpin for OnchainDataResultSchemaColumnsItem
impl UnwindSafe for OnchainDataResultSchemaColumnsItem
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