pub struct AwpResponse {
pub id: Uuid,
pub version: AwpVersion,
pub status: String,
pub payload: Value,
}Expand description
AWP protocol response envelope.
Wraps an outbound response with AWP metadata including protocol version and status.
Fields§
§id: Uuid§version: AwpVersion§status: String§payload: ValueTrait Implementations§
Source§impl Clone for AwpResponse
impl Clone for AwpResponse
Source§fn clone(&self) -> AwpResponse
fn clone(&self) -> AwpResponse
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 AwpResponse
impl Debug for AwpResponse
Source§impl<'de> Deserialize<'de> for AwpResponse
impl<'de> Deserialize<'de> for AwpResponse
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
Source§impl PartialEq for AwpResponse
impl PartialEq for AwpResponse
Source§fn eq(&self, other: &AwpResponse) -> bool
fn eq(&self, other: &AwpResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AwpResponse
impl Serialize for AwpResponse
impl StructuralPartialEq for AwpResponse
Auto Trait Implementations§
impl Freeze for AwpResponse
impl RefUnwindSafe for AwpResponse
impl Send for AwpResponse
impl Sync for AwpResponse
impl Unpin for AwpResponse
impl UnsafeUnpin for AwpResponse
impl UnwindSafe for AwpResponse
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