pub struct SerdeExtension {
pub id: u8,
pub request: Bytes<{ crate::config::SERDE_EXTENSION_REQUEST_LENGTH }>,
}
Available on crate feature
serde-extensions
only.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 · 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
impl From<SerdeExtension> for Request
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§impl RequestVariant for SerdeExtension
impl RequestVariant for SerdeExtension
type Reply = SerdeExtension
Source§impl TryFrom<Request> for SerdeExtension
impl TryFrom<Request> for SerdeExtension
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 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