Struct rusp::usp_record::STOMPConnectRecord
source · pub struct STOMPConnectRecord<'a> {
pub version: STOMPVersion,
pub subscribed_destination: Cow<'a, str>,
}
Fields§
§version: STOMPVersion
§subscribed_destination: Cow<'a, str>
Trait Implementations§
source§impl<'a> Clone for STOMPConnectRecord<'a>
impl<'a> Clone for STOMPConnectRecord<'a>
source§fn clone(&self) -> STOMPConnectRecord<'a>
fn clone(&self) -> STOMPConnectRecord<'a>
Returns a copy 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<'a> Debug for STOMPConnectRecord<'a>
impl<'a> Debug for STOMPConnectRecord<'a>
source§impl<'a> Default for STOMPConnectRecord<'a>
impl<'a> Default for STOMPConnectRecord<'a>
source§fn default() -> STOMPConnectRecord<'a>
fn default() -> STOMPConnectRecord<'a>
Returns the “default value” for a type. Read more
source§impl<'a> MessageRead<'a> for STOMPConnectRecord<'a>
impl<'a> MessageRead<'a> for STOMPConnectRecord<'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 STOMPConnectRecord<'a>
impl<'a> MessageWrite for STOMPConnectRecord<'a>
source§impl<'a> PartialEq for STOMPConnectRecord<'a>
impl<'a> PartialEq for STOMPConnectRecord<'a>
source§fn eq(&self, other: &STOMPConnectRecord<'a>) -> bool
fn eq(&self, other: &STOMPConnectRecord<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for STOMPConnectRecord<'_>
impl Serialize for STOMPConnectRecord<'_>
impl<'a> StructuralPartialEq for STOMPConnectRecord<'a>
Auto Trait Implementations§
impl<'a> Freeze for STOMPConnectRecord<'a>
impl<'a> RefUnwindSafe for STOMPConnectRecord<'a>
impl<'a> Send for STOMPConnectRecord<'a>
impl<'a> Sync for STOMPConnectRecord<'a>
impl<'a> Unpin for STOMPConnectRecord<'a>
impl<'a> UnwindSafe for STOMPConnectRecord<'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