pub struct SimpleColumnFormat {
pub is_array: bool,
pub type_: ColumnFormatType,
}
Expand description
Format of a simple column.
JSON schema
{
"description": "Format of a simple column.",
"type": "object",
"required": [
"isArray",
"type"
],
"properties": {
"isArray": {
"description": "Whether or not this column is an array.",
"examples": [
true
],
"type": "boolean"
},
"type": {
"$ref": "#/components/schemas/ColumnFormatType"
}
},
"additionalProperties": false,
"x-schema-name": "SimpleColumnFormat"
}
Fields§
§is_array: bool
Whether or not this column is an array.
type_: ColumnFormatType
Trait Implementations§
Source§impl Clone for SimpleColumnFormat
impl Clone for SimpleColumnFormat
Source§fn clone(&self) -> SimpleColumnFormat
fn clone(&self) -> SimpleColumnFormat
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 SimpleColumnFormat
impl Debug for SimpleColumnFormat
Source§impl<'de> Deserialize<'de> for SimpleColumnFormat
impl<'de> Deserialize<'de> for SimpleColumnFormat
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<&SimpleColumnFormat> for SimpleColumnFormat
impl From<&SimpleColumnFormat> for SimpleColumnFormat
Source§fn from(value: &SimpleColumnFormat) -> Self
fn from(value: &SimpleColumnFormat) -> Self
Converts to this type from the input type.
Source§impl From<SimpleColumnFormat> for ColumnFormat
impl From<SimpleColumnFormat> for ColumnFormat
Source§fn from(value: SimpleColumnFormat) -> Self
fn from(value: SimpleColumnFormat) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SimpleColumnFormat
impl RefUnwindSafe for SimpleColumnFormat
impl Send for SimpleColumnFormat
impl Sync for SimpleColumnFormat
impl Unpin for SimpleColumnFormat
impl UnwindSafe for SimpleColumnFormat
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