pub struct PrefixMessage {
pub header: PrefixHeader,
pub attributes: Vec<PrefixAttribute>,
}
Fields§
§header: PrefixHeader
§attributes: Vec<PrefixAttribute>
Trait Implementations§
Source§impl Clone for PrefixMessage
impl Clone for PrefixMessage
Source§fn clone(&self) -> PrefixMessage
fn clone(&self) -> PrefixMessage
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 Debug for PrefixMessage
impl Debug for PrefixMessage
Source§impl Default for PrefixMessage
impl Default for PrefixMessage
Source§fn default() -> PrefixMessage
fn default() -> PrefixMessage
Returns the “default value” for a type. Read more
Source§impl Emitable for PrefixMessage
impl Emitable for PrefixMessage
Source§impl<'a, T: AsRef<[u8]> + 'a> Parseable<PrefixMessageBuffer<&'a T>> for PrefixMessage
impl<'a, T: AsRef<[u8]> + 'a> Parseable<PrefixMessageBuffer<&'a T>> for PrefixMessage
type Error = PrefixError
Source§fn parse(buf: &PrefixMessageBuffer<&'a T>) -> Result<Self, PrefixError>
fn parse(buf: &PrefixMessageBuffer<&'a T>) -> Result<Self, PrefixError>
Deserialize the current type.
Source§impl PartialEq for PrefixMessage
impl PartialEq for PrefixMessage
impl Eq for PrefixMessage
impl StructuralPartialEq for PrefixMessage
Auto Trait Implementations§
impl Freeze for PrefixMessage
impl RefUnwindSafe for PrefixMessage
impl Send for PrefixMessage
impl Sync for PrefixMessage
impl Unpin for PrefixMessage
impl UnwindSafe for PrefixMessage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)