pub struct ConversionReport {
pub component_name: String,
pub table_name: String,
pub mappings: Vec<TypeMappingRule>,
pub warnings: Vec<String>,
pub skipped_fields: Vec<String>,
pub estimated_structure: Option<HashMap<String, Value>>,
}Expand description
Conversion report for OpenAPI to ODCS conversion
Fields§
§component_name: StringComponent name in OpenAPI
table_name: StringGenerated table name in ODCS
mappings: Vec<TypeMappingRule>Field mappings
warnings: Vec<String>Warnings during conversion
skipped_fields: Vec<String>Fields that were skipped
estimated_structure: Option<HashMap<String, Value>>Estimated structure (for nested objects)
Trait Implementations§
Source§impl Clone for ConversionReport
impl Clone for ConversionReport
Source§fn clone(&self) -> ConversionReport
fn clone(&self) -> ConversionReport
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 ConversionReport
impl Debug for ConversionReport
Source§impl<'de> Deserialize<'de> for ConversionReport
impl<'de> Deserialize<'de> for ConversionReport
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConversionReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConversionReport, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ConversionReport
impl PartialEq for ConversionReport
Source§impl Serialize for ConversionReport
impl Serialize for ConversionReport
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ConversionReport
Auto Trait Implementations§
impl Freeze for ConversionReport
impl RefUnwindSafe for ConversionReport
impl Send for ConversionReport
impl Sync for ConversionReport
impl Unpin for ConversionReport
impl UnwindSafe for ConversionReport
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