Enum everscale_network::proto::dht::UpdateRule
source · pub enum UpdateRule {
Anybody,
OverlayNodes,
Signature,
}Variants§
Implementations§
source§impl<'tl> UpdateRule
impl<'tl> UpdateRule
pub const TL_ID_ANYBODY: u32 = 1_633_127_956u32
pub const TL_ID_OVERLAY_NODES: u32 = 645_370_755u32
pub const TL_ID_SIGNATURE: u32 = 3_432_985_079u32
Trait Implementations§
source§impl Clone for UpdateRule
impl Clone for UpdateRule
source§fn clone(&self) -> UpdateRule
fn clone(&self) -> UpdateRule
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 UpdateRule
impl Debug for UpdateRule
source§impl PartialEq<UpdateRule> for UpdateRule
impl PartialEq<UpdateRule> for UpdateRule
source§fn eq(&self, other: &UpdateRule) -> bool
fn eq(&self, other: &UpdateRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.