pub struct ProgramError {
pub rust_compilation: Option<RustCompilationInfo>,
pub sql_compilation: Option<SqlCompilationInfo>,
pub system_error: Option<String>,
}
Expand description
Log, warning and error information about the program compilation.
JSON schema
{
"description": "Log, warning and error information about the program compilation.",
"type": "object",
"properties": {
"rust_compilation": {
"allOf": [
{
"$ref": "#/components/schemas/RustCompilationInfo"
}
]
},
"sql_compilation": {
"allOf": [
{
"$ref": "#/components/schemas/SqlCompilationInfo"
}
]
},
"system_error": {
"description": "System error that occurred.\n- Set `Some(...)` upon transition to `SystemError`\n- Set `None` upon transition to `Pending`",
"type": [
"string",
"null"
]
}
}
}
Fields§
§rust_compilation: Option<RustCompilationInfo>
§sql_compilation: Option<SqlCompilationInfo>
§system_error: Option<String>
System error that occurred.
- Set
Some(...)
upon transition toSystemError
- Set
None
upon transition toPending
Implementations§
Source§impl ProgramError
impl ProgramError
pub fn builder() -> ProgramError
Trait Implementations§
Source§impl Clone for ProgramError
impl Clone for ProgramError
Source§fn clone(&self) -> ProgramError
fn clone(&self) -> ProgramError
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 ProgramError
impl Debug for ProgramError
Source§impl<'de> Deserialize<'de> for ProgramError
impl<'de> Deserialize<'de> for ProgramError
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<&ProgramError> for ProgramError
impl From<&ProgramError> for ProgramError
Source§fn from(value: &ProgramError) -> Self
fn from(value: &ProgramError) -> Self
Converts to this type from the input type.
Source§impl From<ProgramError> for ProgramError
impl From<ProgramError> for ProgramError
Source§fn from(value: ProgramError) -> Self
fn from(value: ProgramError) -> Self
Converts to this type from the input type.
Source§impl Serialize for ProgramError
impl Serialize for ProgramError
Source§impl TryFrom<ProgramError> for ProgramError
impl TryFrom<ProgramError> for ProgramError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ProgramError) -> Result<Self, ConversionError>
fn try_from(value: ProgramError) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ProgramError
impl RefUnwindSafe for ProgramError
impl Send for ProgramError
impl Sync for ProgramError
impl Unpin for ProgramError
impl UnwindSafe for ProgramError
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