Struct weldscli_lib::config::Relation
source · pub struct Relation {
pub schema: Option<String>,
pub tablename: String,
pub foreign_key: String,
}Fields§
§schema: Option<String>§tablename: String§foreign_key: StringTrait Implementations§
source§impl<'de> Deserialize<'de> for Relation
impl<'de> Deserialize<'de> for Relation
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<&RelationDef> for Relation
impl From<&RelationDef> for Relation
source§fn from(value: &RelationDef) -> Self
fn from(value: &RelationDef) -> Self
Converts to this type from the input type.