Struct vtubestudio::data::ResponseData
source · [−]pub struct ResponseData {
pub message_type: EnumString<ResponseType>,
pub data: OpaqueValue,
}
Expand description
Response data wrapper for ResponseEnvelope
(typically for non-error responses).
Fields
message_type: EnumString<ResponseType>
The message type.
data: OpaqueValue
The raw data.
Trait Implementations
sourceimpl Clone for ResponseData
impl Clone for ResponseData
sourcefn clone(&self) -> ResponseData
fn clone(&self) -> ResponseData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ResponseData
impl Debug for ResponseData
sourceimpl Serialize for ResponseData
impl Serialize for ResponseData
Auto Trait Implementations
impl RefUnwindSafe for ResponseData
impl Send for ResponseData
impl Sync for ResponseData
impl Unpin for ResponseData
impl UnwindSafe for ResponseData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more