pub struct Reply {
pub status: u16,
pub headers: Vec<(String, String)>,
pub body: Vec<u8>,
pub request_id: Option<String>,
pub recovered: bool,
}Expand description
The response of a call that succeeded.
Fields§
§status: u16§headers: Vec<(String, String)>§body: Vec<u8>§request_id: Option<String>§recovered: booltrue when the response is a 409/404 accepted as success after a 503 (the operation
had been applied on the previous attempt).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnsafeUnpin for Reply
impl UnwindSafe for Reply
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