pub struct PublishRelease {
pub packet_id: NonZeroU16,
}Expand description
Publish release
Fields§
§packet_id: NonZeroU16Implementations§
Source§impl PublishRelease
impl PublishRelease
Sourcepub fn id(self) -> NonZeroU16
pub fn id(self) -> NonZeroU16
Packet Identifier
Sourcepub fn ack(self) -> ControlAck
pub fn ack(self) -> ControlAck
convert packet to a result
Trait Implementations§
Source§impl Clone for PublishRelease
impl Clone for PublishRelease
Source§fn clone(&self) -> PublishRelease
fn clone(&self) -> PublishRelease
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 PublishRelease
impl Debug for PublishRelease
impl Copy for PublishRelease
Auto Trait Implementations§
impl Freeze for PublishRelease
impl RefUnwindSafe for PublishRelease
impl Send for PublishRelease
impl Sync for PublishRelease
impl Unpin for PublishRelease
impl UnwindSafe for PublishRelease
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