pub struct ReadRelation {
pub read_types: Option<Vec<ReadRelationReadTypesItem>>,
pub relation: Value,
}
Expand description
ReadRelation
JSON schema
{
"type": "object",
"required": [
"relation"
],
"properties": {
"read_types": {
"description": "The list of possible read types used by the read relation.",
"type": "array",
"items": {
"enum": [
"VIRTUAL_TABLE",
"LOCAL_FILES",
"NAMED_TABLE",
"EXTENSION_TABLE",
"ICEBERG_TABLE"
]
},
"uniqueItems": true
},
"relation": {
"const": "READ"
}
},
"additionalProperties": false
}
Fields§
§read_types: Option<Vec<ReadRelationReadTypesItem>>
The list of possible read types used by the read relation.
relation: Value
Implementations§
Source§impl ReadRelation
impl ReadRelation
pub fn builder() -> ReadRelation
Trait Implementations§
Source§impl Clone for ReadRelation
impl Clone for ReadRelation
Source§fn clone(&self) -> ReadRelation
fn clone(&self) -> ReadRelation
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 ReadRelation
impl Debug for ReadRelation
Source§impl<'de> Deserialize<'de> for ReadRelation
impl<'de> Deserialize<'de> for ReadRelation
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<&ReadRelation> for ReadRelation
impl From<&ReadRelation> for ReadRelation
Source§fn from(value: &ReadRelation) -> Self
fn from(value: &ReadRelation) -> Self
Converts to this type from the input type.
Source§impl From<ReadRelation> for DialectSupportedRelationsItem
impl From<ReadRelation> for DialectSupportedRelationsItem
Source§fn from(value: ReadRelation) -> Self
fn from(value: ReadRelation) -> Self
Converts to this type from the input type.
Source§impl From<ReadRelation> for ReadRelation
impl From<ReadRelation> for ReadRelation
Source§fn from(value: ReadRelation) -> Self
fn from(value: ReadRelation) -> Self
Converts to this type from the input type.
Source§impl Serialize for ReadRelation
impl Serialize for ReadRelation
Source§impl TryFrom<ReadRelation> for ReadRelation
impl TryFrom<ReadRelation> for ReadRelation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ReadRelation) -> Result<Self, ConversionError>
fn try_from(value: ReadRelation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ReadRelation
impl RefUnwindSafe for ReadRelation
impl Send for ReadRelation
impl Sync for ReadRelation
impl Unpin for ReadRelation
impl UnwindSafe for ReadRelation
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