network: Implement Default on ServiceFlags

This commit is contained in:
Steven Roose 2023-06-06 00:06:28 +01:00
parent 0266e762bd
commit 4c18ba779c
No known key found for this signature in database
GPG Key ID: 2F2A88D7F8D68E87
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ impl fmt::Display for UnknownMagic {
impl_std_error!(UnknownMagic);
/// Flags to indicate which network services a node supports.
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Debug, Clone, Copy, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct ServiceFlags(u64);
impl ServiceFlags {