pub struct ResponseFrame {
pub schema: ProtocolSchema,
pub request_id: RequestId,
pub ownership: OwnershipScope,
pub payload: ResponsePayload,
}Fields§
§schema: ProtocolSchema§request_id: RequestId§ownership: OwnershipScope§payload: ResponsePayloadImplementations§
Source§impl ResponseFrame
impl ResponseFrame
pub fn new( request_id: RequestId, ownership: OwnershipScope, payload: ResponsePayload, ) -> Self
Trait Implementations§
Source§impl Clone for ResponseFrame
impl Clone for ResponseFrame
Source§fn clone(&self) -> ResponseFrame
fn clone(&self) -> ResponseFrame
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 ResponseFrame
impl Debug for ResponseFrame
Source§impl<'de> Deserialize<'de> for ResponseFrame
impl<'de> Deserialize<'de> for ResponseFrame
Source§fn 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 ResponseFrame
Source§impl PartialEq for ResponseFrame
impl PartialEq for ResponseFrame
Source§fn eq(&self, other: &ResponseFrame) -> bool
fn eq(&self, other: &ResponseFrame) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResponseFrame
impl Serialize for ResponseFrame
impl StructuralPartialEq for ResponseFrame
Auto Trait Implementations§
impl Freeze for ResponseFrame
impl RefUnwindSafe for ResponseFrame
impl Send for ResponseFrame
impl Sync for ResponseFrame
impl Unpin for ResponseFrame
impl UnsafeUnpin for ResponseFrame
impl UnwindSafe for ResponseFrame
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