#[non_exhaustive]pub struct GenerateResponse {
pub success: bool,
pub message: String,
pub filename: Option<String>,
pub xml: Option<String>,
pub validation_errors: Vec<RowError>,
pub scheme_violations: Vec<Map<String, Value>>,
}Expand description
POST /api/v1/ui/generate.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.success: boolWhether the XML was generated.
message: StringA human-readable result message.
filename: Option<String>The suggested download name for the XML.
xml: Option<String>The generated XML document, on success.
validation_errors: Vec<RowError>Field errors in the rows when generation was refused.
scheme_violations: Vec<Map<String, Value>>Scheme-rulebook violations when generation was refused.
Trait Implementations§
Source§impl Clone for GenerateResponse
impl Clone for GenerateResponse
Source§impl Debug for GenerateResponse
impl Debug for GenerateResponse
Source§impl<'de> Deserialize<'de> for GenerateResponse
impl<'de> Deserialize<'de> for GenerateResponse
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 GenerateResponse
impl PartialEq for GenerateResponse
impl StructuralPartialEq for GenerateResponse
Auto Trait Implementations§
impl Freeze for GenerateResponse
impl RefUnwindSafe for GenerateResponse
impl Send for GenerateResponse
impl Sync for GenerateResponse
impl Unpin for GenerateResponse
impl UnsafeUnpin for GenerateResponse
impl UnwindSafe for GenerateResponse
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