pub enum RestResponse {
String(String),
Json(Value),
Bytes(Vec<u8>),
}Expand description
Response types that can be returned from REST API calls.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RestResponse
impl RefUnwindSafe for RestResponse
impl Send for RestResponse
impl Sync for RestResponse
impl Unpin for RestResponse
impl UnwindSafe for RestResponse
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