pub struct UpdatePacketDescription {
pub packet_type: AdminUpdateType,
pub frequencies_allowed: UpdateFrequencies,
}
Expand description
Describes an update packet the admin client can register for.
Fields§
§packet_type: AdminUpdateType
Update packet type.
frequencies_allowed: UpdateFrequencies
Frequencies allowed for this update packet (bitwise).
Trait Implementations§
Source§impl Clone for UpdatePacketDescription
impl Clone for UpdatePacketDescription
Source§fn clone(&self) -> UpdatePacketDescription
fn clone(&self) -> UpdatePacketDescription
Returns a duplicate 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 UpdatePacketDescription
impl Debug for UpdatePacketDescription
Source§impl<'de> Deserialize<'de> for UpdatePacketDescription
impl<'de> Deserialize<'de> for UpdatePacketDescription
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdatePacketDescription
impl PartialEq for UpdatePacketDescription
Source§impl Serialize for UpdatePacketDescription
impl Serialize for UpdatePacketDescription
impl Copy for UpdatePacketDescription
impl Eq for UpdatePacketDescription
impl StructuralPartialEq for UpdatePacketDescription
Auto Trait Implementations§
impl Freeze for UpdatePacketDescription
impl RefUnwindSafe for UpdatePacketDescription
impl Send for UpdatePacketDescription
impl Sync for UpdatePacketDescription
impl Unpin for UpdatePacketDescription
impl UnwindSafe for UpdatePacketDescription
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