#[repr(C)]pub struct yyjson_ptr_err {
pub code: yyjson_ptr_code,
pub msg: *const c_char,
pub pos: usize,
}
Expand description
Error information for JSON pointer.
Fields§
§code: yyjson_ptr_code
Error code, see yyjson_ptr_code
for all possible values.
msg: *const c_char
Error message, constant, no need to free (NULL if no error).
pos: usize
Error byte position for input JSON pointer (0 if no error).
Trait Implementations§
Source§impl Clone for yyjson_ptr_err
impl Clone for yyjson_ptr_err
Source§fn clone(&self) -> yyjson_ptr_err
fn clone(&self) -> yyjson_ptr_err
Returns a copy 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 yyjson_ptr_err
impl Debug for yyjson_ptr_err
impl Copy for yyjson_ptr_err
Auto Trait Implementations§
impl Freeze for yyjson_ptr_err
impl RefUnwindSafe for yyjson_ptr_err
impl !Send for yyjson_ptr_err
impl !Sync for yyjson_ptr_err
impl Unpin for yyjson_ptr_err
impl UnwindSafe for yyjson_ptr_err
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