Struct jsona_openapi::OpenapiError
source · [−]Fields
keys: Keys
message: String
Implementations
sourceimpl OpenapiError
impl OpenapiError
pub fn new<T: ToString>(keys: Keys, message: T) -> Self
pub fn to_error_object(&self, node: &Node, mapper: &Mapper) -> ErrorObject
Trait Implementations
sourceimpl Clone for OpenapiError
impl Clone for OpenapiError
sourcefn clone(&self) -> OpenapiError
fn clone(&self) -> OpenapiError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for OpenapiError
impl Debug for OpenapiError
Auto Trait Implementations
impl !RefUnwindSafe for OpenapiError
impl !Send for OpenapiError
impl !Sync for OpenapiError
impl Unpin for OpenapiError
impl !UnwindSafe for OpenapiError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more