pub struct OracleResponse {
pub status: OracleStatus,
pub body: Vec<u8>,
}Expand description
Response from an oracle HTTP call.
Fields§
§status: OracleStatusStatus of the request.
body: Vec<u8>Response body (empty if not ready).
Trait Implementations§
Source§impl Clone for OracleResponse
impl Clone for OracleResponse
Source§fn clone(&self) -> OracleResponse
fn clone(&self) -> OracleResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OracleResponse
impl RefUnwindSafe for OracleResponse
impl Send for OracleResponse
impl Sync for OracleResponse
impl Unpin for OracleResponse
impl UnsafeUnpin for OracleResponse
impl UnwindSafe for OracleResponse
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