pub struct Document<'p, 's> { /* private fields */ }
Implementations§
Source§impl<'p, 's> Document<'p, 's>
impl<'p, 's> Document<'p, 's>
pub fn new(ptr: NonNull<SJ_OD_document>) -> Self
pub fn get_uint64(&mut self) -> Result<u64>
pub fn get_int64(&mut self) -> Result<i64>
pub fn get_bool(&mut self) -> Result<bool>
pub fn get_double(&mut self) -> Result<f64>
pub fn get_value<'a>(&mut self) -> Result<Value<'a>>
pub fn get_array<'a>(&mut self) -> Result<Array<'a>>
pub fn get_object<'a>(&mut self) -> Result<Object<'a>>
pub fn get_wobbly_string<'a>(&mut self) -> Result<&'a str>
pub fn get_string<'a>(&mut self) -> Result<&'a str>
pub fn at_pointer<'a>(&mut self, json_pointer: &str) -> Result<Value<'a>>
pub fn get_number<'a>(&mut self) -> Result<Number<'a>>
pub fn is_null(&mut self) -> Result<bool>
pub fn json_type(&mut self) -> Result<JsonType>
Trait Implementations§
Auto Trait Implementations§
impl<'p, 's> Freeze for Document<'p, 's>
impl<'p, 's> RefUnwindSafe for Document<'p, 's>
impl<'p, 's> !Send for Document<'p, 's>
impl<'p, 's> !Sync for Document<'p, 's>
impl<'p, 's> Unpin for Document<'p, 's>
impl<'p, 's> !UnwindSafe for Document<'p, 's>
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