pub struct SqlCompilationInfo {
pub exit_code: i32,
pub messages: Vec<SqlCompilerMessage>,
}
Expand description
SQL compilation information.
JSON schema
{
"description": "SQL compilation information.",
"type": "object",
"required": [
"exit_code",
"messages"
],
"properties": {
"exit_code": {
"description": "Exit code of the SQL compiler.",
"type": "integer",
"format": "int32"
},
"messages": {
"description": "Messages (warnings and errors) generated by the SQL compiler.",
"type": "array",
"items": {
"$ref": "#/components/schemas/SqlCompilerMessage"
}
}
}
}
Fields§
§exit_code: i32
Exit code of the SQL compiler.
messages: Vec<SqlCompilerMessage>
Messages (warnings and errors) generated by the SQL compiler.
Implementations§
Source§impl SqlCompilationInfo
impl SqlCompilationInfo
pub fn builder() -> SqlCompilationInfo
Trait Implementations§
Source§impl Clone for SqlCompilationInfo
impl Clone for SqlCompilationInfo
Source§fn clone(&self) -> SqlCompilationInfo
fn clone(&self) -> SqlCompilationInfo
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 SqlCompilationInfo
impl Debug for SqlCompilationInfo
Source§impl<'de> Deserialize<'de> for SqlCompilationInfo
impl<'de> Deserialize<'de> for SqlCompilationInfo
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<&SqlCompilationInfo> for SqlCompilationInfo
impl From<&SqlCompilationInfo> for SqlCompilationInfo
Source§fn from(value: &SqlCompilationInfo) -> Self
fn from(value: &SqlCompilationInfo) -> Self
Converts to this type from the input type.
Source§impl From<SqlCompilationInfo> for SqlCompilationInfo
impl From<SqlCompilationInfo> for SqlCompilationInfo
Source§fn from(value: SqlCompilationInfo) -> Self
fn from(value: SqlCompilationInfo) -> Self
Converts to this type from the input type.
Source§impl Serialize for SqlCompilationInfo
impl Serialize for SqlCompilationInfo
Source§impl TryFrom<SqlCompilationInfo> for SqlCompilationInfo
impl TryFrom<SqlCompilationInfo> for SqlCompilationInfo
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SqlCompilationInfo) -> Result<Self, ConversionError>
fn try_from(value: SqlCompilationInfo) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SqlCompilationInfo
impl RefUnwindSafe for SqlCompilationInfo
impl Send for SqlCompilationInfo
impl Sync for SqlCompilationInfo
impl Unpin for SqlCompilationInfo
impl UnwindSafe for SqlCompilationInfo
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