pub enum Format {
Xml,
Json,
}
Expand description
Format of the returned API data. DataSource::fetch_paged
forces Format::Json
.
Variants§
Xml
Request that the returned API data is xml-formatted.
Json
Request that the returned API data is json-formatted.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Format
impl RefUnwindSafe for Format
impl Send for Format
impl Sync for Format
impl Unpin for Format
impl UnwindSafe for Format
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