pub struct PresenceState {
pub discoverability: f64,
pub responsiveness: f64,
pub stability: f64,
pub coupling_readiness: f64,
pub last_signal: TemporalAnchor,
pub silent_mode: bool,
}Expand description
Presence state - gradient representation of a Resonator’s availability
Key insight: Presence is multidimensional, not a simple boolean.
Fields§
§discoverability: f64How discoverable is this Resonator? (0.0 to 1.0)
0.0 = Completely hidden 0.5 = Discoverable only through existing couplings 1.0 = Fully discoverable to all
responsiveness: f64How responsive is this Resonator? (0.0 to 1.0)
0.0 = Not responding to interactions 0.5 = Slow/delayed responses 1.0 = Immediate responses
stability: f64How stable has this Resonator been? (rolling average)
0.0 = Frequently disconnecting 1.0 = Consistently available
coupling_readiness: f64How ready is this Resonator to form new couplings? (0.0 to 1.0)
0.0 = Not accepting new couplings 1.0 = Actively seeking new couplings
last_signal: TemporalAnchorLast presence signal (temporal anchor)
silent_mode: boolSilent mode (exists but not actively signaling)
Important: A Resonator may be present without actively participating. Presence does NOT imply willingness to interact.
Implementations§
Source§impl PresenceState
impl PresenceState
Sourcepub fn is_effectively_online(&self) -> bool
pub fn is_effectively_online(&self) -> bool
Is this Resonator effectively “online”?
Note: This is a convenience method. Presence is a gradient, not a binary state.
Sourcepub fn is_discoverable(&self) -> bool
pub fn is_discoverable(&self) -> bool
Can this Resonator be discovered?
Sourcepub fn is_accepting_couplings(&self) -> bool
pub fn is_accepting_couplings(&self) -> bool
Is this Resonator accepting new couplings?
Trait Implementations§
Source§impl Clone for PresenceState
impl Clone for PresenceState
Source§fn clone(&self) -> PresenceState
fn clone(&self) -> PresenceState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more