pub struct SerdeExtension {
pub id: u8,
pub request: Bytes<{ crate::config::SERDE_EXTENSION_REQUEST_LENGTH }>,
}Fields§
§id: u8§request: Bytes<{ crate::config::SERDE_EXTENSION_REQUEST_LENGTH }>Trait Implementations§
Source§impl Clone for SerdeExtension
impl Clone for SerdeExtension
Source§fn clone(&self) -> SerdeExtension
fn clone(&self) -> SerdeExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SerdeExtension
impl Debug for SerdeExtension
Source§impl From<SerdeExtension> for Request
Available on crate feature serde-extensions only.
impl From<SerdeExtension> for Request
Available on crate feature
serde-extensions only.Source§fn from(request: SerdeExtension) -> Self
fn from(request: SerdeExtension) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SerdeExtension
impl PartialEq for SerdeExtension
Source§fn eq(&self, other: &SerdeExtension) -> bool
fn eq(&self, other: &SerdeExtension) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RequestVariant for SerdeExtension
Available on crate feature serde-extensions only.
impl RequestVariant for SerdeExtension
Available on crate feature
serde-extensions only.type Reply = SerdeExtension
Source§impl TryFrom<Request> for SerdeExtension
Available on crate feature serde-extensions only.
impl TryFrom<Request> for SerdeExtension
Available on crate feature
serde-extensions only.impl Eq for SerdeExtension
impl StructuralPartialEq for SerdeExtension
Auto Trait Implementations§
impl Freeze for SerdeExtension
impl RefUnwindSafe for SerdeExtension
impl Send for SerdeExtension
impl Sync for SerdeExtension
impl Unpin for SerdeExtension
impl UnsafeUnpin for SerdeExtension
impl UnwindSafe for SerdeExtension
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