#[repr(C)]pub struct AVRTSPResponse {
pub status_code: c_int,
pub reason: *mut c_char,
pub body_len: usize,
pub body: *mut c_uchar,
}Fields§
§status_code: c_intResponse status code from server
reason: *mut c_charReason phrase from the server, describing the status in a human-readable way.
body_len: usizeBody payload size
body: *mut c_ucharBody payload
trait 实现§
源代码§impl Clone for AVRTSPResponse
impl Clone for AVRTSPResponse
源代码§fn clone(&self) -> AVRTSPResponse
fn clone(&self) -> AVRTSPResponse
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVRTSPResponse
impl Debug for AVRTSPResponse
源代码§impl PartialEq for AVRTSPResponse
impl PartialEq for AVRTSPResponse
impl Copy for AVRTSPResponse
impl Eq for AVRTSPResponse
impl StructuralPartialEq for AVRTSPResponse
自动 trait 实现§
impl Freeze for AVRTSPResponse
impl RefUnwindSafe for AVRTSPResponse
impl !Send for AVRTSPResponse
impl !Sync for AVRTSPResponse
impl Unpin for AVRTSPResponse
impl UnsafeUnpin for AVRTSPResponse
impl UnwindSafe for AVRTSPResponse
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多