Struct vtubestudio::data::RequestId
source · [−]pub struct RequestId(_);
Expand description
Request ID used in RequestEnvelope
and ResponseEnvelope
.
This is a newtype wrapper rather than a plain String
to allow for possible optimizations to
the internal representation (using types optimized for small strings, etc).
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for RequestId
impl<'de> Deserialize<'de> for RequestId
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RequestId
impl StructuralEq for RequestId
impl StructuralPartialEq for RequestId
Auto Trait Implementations
impl RefUnwindSafe for RequestId
impl Send for RequestId
impl Sync for RequestId
impl Unpin for RequestId
impl UnwindSafe for RequestId
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