Struct json_crawler::JsonCrawlerBorrowed
source · pub struct JsonCrawlerBorrowed<'a> { /* private fields */ }
Trait Implementations§
source§impl<'a> JsonCrawler for JsonCrawlerBorrowed<'a>
impl<'a> JsonCrawler for JsonCrawlerBorrowed<'a>
type BorrowTo<'b> = JsonCrawlerBorrowed<'b> where Self: 'b
type IterMut<'b> = JsonCrawlerArrayIterMut<'b> where Self: 'b
type IntoIter = JsonCrawlerArrayIterMut<'a>
fn take_value_pointer<T: DeserializeOwned>( &mut self, path: impl AsRef<str>, ) -> CrawlerResult<T>
fn borrow_pointer( &mut self, path: impl AsRef<str>, ) -> CrawlerResult<Self::BorrowTo<'_>>
fn try_into_iter(self) -> CrawlerResult<Self::IntoIter>
fn try_iter_mut(&mut self) -> CrawlerResult<Self::IterMut<'_>>
fn borrow_index(&mut self, index: usize) -> CrawlerResult<Self::BorrowTo<'_>>
fn borrow_mut(&mut self) -> Self::BorrowTo<'_>
fn get_path(&self) -> String
fn take_value<T: DeserializeOwned>(&mut self) -> CrawlerResult<T>
fn take_value_pointers<T: DeserializeOwned>( &mut self, paths: Vec<&'static str>, ) -> CrawlerResult<T>
fn path_exists(&self, path: &str) -> bool
fn get_source(&self) -> Arc<String>
fn take_and_parse_str<F: FromStr>(&mut self) -> CrawlerResult<F>
source§fn try_functions<O>(
&mut self,
functions: Vec<fn(_: &mut Self) -> CrawlerResult<O>>,
) -> CrawlerResult<O>
fn try_functions<O>( &mut self, functions: Vec<fn(_: &mut Self) -> CrawlerResult<O>>, ) -> CrawlerResult<O>
Warning Read more
Auto Trait Implementations§
impl<'a> Freeze for JsonCrawlerBorrowed<'a>
impl<'a> RefUnwindSafe for JsonCrawlerBorrowed<'a>
impl<'a> Send for JsonCrawlerBorrowed<'a>
impl<'a> Sync for JsonCrawlerBorrowed<'a>
impl<'a> Unpin for JsonCrawlerBorrowed<'a>
impl<'a> !UnwindSafe for JsonCrawlerBorrowed<'a>
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