pub struct Feedback<'a> {
pub time_stamp: u32,
pub body: Cow<'a, str>,
pub response_type: ResponseType,
}Fields§
§time_stamp: u32§body: Cow<'a, str>§response_type: ResponseTypeTrait Implementations§
Source§impl<'a> MessageRead<'a> for Feedback<'a>
impl<'a> MessageRead<'a> for Feedback<'a>
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<'a> MessageWrite for Feedback<'a>
impl<'a> MessageWrite for Feedback<'a>
impl<'a> StructuralPartialEq for Feedback<'a>
Auto Trait Implementations§
impl<'a> Freeze for Feedback<'a>
impl<'a> RefUnwindSafe for Feedback<'a>
impl<'a> Send for Feedback<'a>
impl<'a> Sync for Feedback<'a>
impl<'a> Unpin for Feedback<'a>
impl<'a> UnwindSafe for Feedback<'a>
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