pub struct SubscribeUpdate {
pub priority: u64,
pub group_order: GroupOrder,
pub group_expires: Duration,
pub group_min: Option<u64>,
pub group_max: Option<u64>,
}
Fields§
§priority: u64
§group_order: GroupOrder
§group_expires: Duration
§group_min: Option<u64>
§group_max: Option<u64>
Trait Implementations§
Source§impl Clone for SubscribeUpdate
impl Clone for SubscribeUpdate
Source§fn clone(&self) -> SubscribeUpdate
fn clone(&self) -> SubscribeUpdate
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 SubscribeUpdate
impl Debug for SubscribeUpdate
Source§impl Decode for SubscribeUpdate
impl Decode for SubscribeUpdate
fn decode<R: Buf>(r: &mut R) -> Result<Self, DecodeError>
fn decode_more<B: Buf>(buf: &mut B, remain: usize) -> Result<Self, DecodeError>
fn decode_cap<B: Buf>(buf: &mut B, remain: usize) -> Result<(), DecodeError>
Auto Trait Implementations§
impl Freeze for SubscribeUpdate
impl RefUnwindSafe for SubscribeUpdate
impl Send for SubscribeUpdate
impl Sync for SubscribeUpdate
impl Unpin for SubscribeUpdate
impl UnwindSafe for SubscribeUpdate
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