pub struct ApiRecord {
pub url: String,
pub api_url: String,
pub data: Value,
}Expand description
A record returned from a public API.
Fields§
§url: StringThe original URL this record corresponds to.
api_url: StringThe API endpoint that was queried.
data: ValueRaw JSON response from the API.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiRecord
impl RefUnwindSafe for ApiRecord
impl Send for ApiRecord
impl Sync for ApiRecord
impl Unpin for ApiRecord
impl UnsafeUnpin for ApiRecord
impl UnwindSafe for ApiRecord
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