pub struct InformationalResponse { /* private fields */ }Implementations§
Source§impl InformationalResponse
impl InformationalResponse
pub fn new(status: StatusCode, fields: FieldSection) -> Self
pub fn status(&self) -> StatusCode
pub fn fields(&self) -> &FieldSection
Auto Trait Implementations§
impl Freeze for InformationalResponse
impl RefUnwindSafe for InformationalResponse
impl Send for InformationalResponse
impl Sync for InformationalResponse
impl Unpin for InformationalResponse
impl UnwindSafe for InformationalResponse
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