pub struct SchemaResolutionError {
pub provider: String,
pub purpose: SchemaPurpose,
pub dialect: Option<SchemaDialect>,
pub diagnostics: Vec<String>,
/* private fields */
}Fields§
§provider: String§purpose: SchemaPurpose§dialect: Option<SchemaDialect>§diagnostics: Vec<String>Implementations§
Source§impl SchemaResolutionError
impl SchemaResolutionError
pub fn first_diagnostic(&self) -> &str
Trait Implementations§
Source§impl Clone for SchemaResolutionError
impl Clone for SchemaResolutionError
Source§fn clone(&self) -> SchemaResolutionError
fn clone(&self) -> SchemaResolutionError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaResolutionError
impl Debug for SchemaResolutionError
Source§impl Display for SchemaResolutionError
impl Display for SchemaResolutionError
impl Eq for SchemaResolutionError
Source§impl Error for SchemaResolutionError
impl Error for SchemaResolutionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SchemaResolutionError
impl PartialEq for SchemaResolutionError
Source§fn eq(&self, other: &SchemaResolutionError) -> bool
fn eq(&self, other: &SchemaResolutionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SchemaResolutionError
Auto Trait Implementations§
impl Freeze for SchemaResolutionError
impl RefUnwindSafe for SchemaResolutionError
impl Send for SchemaResolutionError
impl Sync for SchemaResolutionError
impl Unpin for SchemaResolutionError
impl UnsafeUnpin for SchemaResolutionError
impl UnwindSafe for SchemaResolutionError
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