pub struct SchemaRelationship {
pub relationship_type: String,
pub from_properties: Vec<String>,
pub to_schema: String,
pub to_properties: Vec<String>,
pub description: Option<String>,
}Expand description
Schema-level relationship (ODCS v3.1.0)
Represents relationships between schema objects (tables).
Fields§
§relationship_type: StringRelationship type (e.g., “foreignKey”, “parent”, “child”)
from_properties: Vec<String>Source properties (column names) in this schema
to_schema: StringTarget schema object name
to_properties: Vec<String>Target properties (column names) in the target schema
description: Option<String>Optional description
Trait Implementations§
Source§impl Clone for SchemaRelationship
impl Clone for SchemaRelationship
Source§fn clone(&self) -> SchemaRelationship
fn clone(&self) -> SchemaRelationship
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 SchemaRelationship
impl Debug for SchemaRelationship
Source§impl<'de> Deserialize<'de> for SchemaRelationship
impl<'de> Deserialize<'de> for SchemaRelationship
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 PartialEq for SchemaRelationship
impl PartialEq for SchemaRelationship
Source§impl Serialize for SchemaRelationship
impl Serialize for SchemaRelationship
impl StructuralPartialEq for SchemaRelationship
Auto Trait Implementations§
impl Freeze for SchemaRelationship
impl RefUnwindSafe for SchemaRelationship
impl Send for SchemaRelationship
impl Sync for SchemaRelationship
impl Unpin for SchemaRelationship
impl UnwindSafe for SchemaRelationship
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