pub struct Response {
pub resource_id: String,
pub answer: String,
/* private fields */
}Expand description
The result of a WHIP/WHEP whip::accept / whep::accept: the SDP answer
to return to the client, plus an opaque resource id for the Location header
(the RFC 9725 session resource URL).
Fields§
§resource_id: StringOpaque id identifying the negotiated session, for the Location header.
answer: StringThe SDP answer body (Content-Type: application/sdp).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Response
impl !RefUnwindSafe for Response
impl !Sync for Response
impl !UnwindSafe for Response
impl Send for Response
impl Unpin for Response
impl UnsafeUnpin for Response
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