pub struct Feedback {
pub time_stamp: u32,
pub body: String,
pub response_type: ResponseType,
}
Fields§
§time_stamp: u32
§body: String
§response_type: ResponseType
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Feedback
impl<'de> Deserialize<'de> for Feedback
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<'a> MessageRead<'a> for Feedback
impl<'a> MessageRead<'a> for Feedback
Source§fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
fn from_reader(r: &mut BytesReader, bytes: &'a [u8]) -> Result<Self>
Constructs an instance of
Self
by reading from the given bytes
via the given reader. Read moreSource§impl MessageWrite for Feedback
impl MessageWrite for Feedback
impl StructuralPartialEq for Feedback
Auto Trait Implementations§
impl Freeze for Feedback
impl RefUnwindSafe for Feedback
impl Send for Feedback
impl Sync for Feedback
impl Unpin for Feedback
impl UnwindSafe for Feedback
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