pub struct XmlStream { /* private fields */ }Expand description
A configured XML API source that handles pagination and extraction.
Implementations§
Trait Implementations§
Source§impl Source for XmlStream
impl Source for XmlStream
Source§fn fetch_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>, FaucetError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Value>, FaucetError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch all records.
Source§fn config_schema(&self) -> Value
fn config_schema(&self) -> Value
Return a JSON Schema describing the configuration this source accepts. Read more
Auto Trait Implementations§
impl Freeze for XmlStream
impl !RefUnwindSafe for XmlStream
impl Send for XmlStream
impl Sync for XmlStream
impl Unpin for XmlStream
impl UnsafeUnpin for XmlStream
impl !UnwindSafe for XmlStream
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