pub struct InterestDeclaration {
pub node: NodeId,
pub state_id: u64,
pub level: InterestLevel,
pub timestamp: i64,
pub ttl_ms: u32,
}Expand description
Interest declaration from a node
Fields§
§node: NodeIdThe node declaring interest
state_id: u64The state they’re interested in
level: InterestLevelLevel of interest
timestamp: i64Timestamp of declaration
ttl_ms: u32Time-to-live in milliseconds (0 = permanent)
Implementations§
Trait Implementations§
Source§impl Clone for InterestDeclaration
impl Clone for InterestDeclaration
Source§fn clone(&self) -> InterestDeclaration
fn clone(&self) -> InterestDeclaration
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 moreAuto Trait Implementations§
impl Freeze for InterestDeclaration
impl RefUnwindSafe for InterestDeclaration
impl Send for InterestDeclaration
impl Sync for InterestDeclaration
impl Unpin for InterestDeclaration
impl UnsafeUnpin for InterestDeclaration
impl UnwindSafe for InterestDeclaration
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