pub struct SubResponse {
pub content: String,
pub content_type: String,
pub headers: HashMap<String, String>,
pub status_code: u16,
}Expand description
Struct to represent a subscription process response
Fields§
§content: String§content_type: String§headers: HashMap<String, String>§status_code: u16Implementations§
Trait Implementations§
Source§impl Debug for SubResponse
impl Debug for SubResponse
Auto Trait Implementations§
impl Freeze for SubResponse
impl RefUnwindSafe for SubResponse
impl Send for SubResponse
impl Sync for SubResponse
impl Unpin for SubResponse
impl UnwindSafe for SubResponse
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