Struct Retention Intent
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
pub struct RetentionIntent {
pub recommended_tier: RetentionTier,
pub expected_session_duration_secs: Option<f64>,
pub inter_call_gap_p50_ms: Option<f64>,
pub scope_label: SharingScope,
}
Cache retention policy intent.
Recommends how long cached content should be retained based on session patterns and inter-call timing.
Fields
recommended_tier: RetentionTier
Recommended retention tier.
expected_session_duration_secs: Option<f64>
Expected session duration in seconds.
inter_call_gap_p50_ms: Option<f64>
Median inter-call gap in milliseconds.
scope_label: SharingScope
Sharing scope for the retained content.
Trait Implementations
impl Clone for RetentionIntent
impl Clone for RetentionIntent
clone
fn clone(&self) -> RetentionIntent
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for RetentionIntent
impl Debug for RetentionIntent
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for RetentionIntent
impl<'de> Deserialize<'de> for RetentionIntent
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl PartialEq for RetentionIntent
impl PartialEq for RetentionIntent
eq
fn eq(&self, other: &RetentionIntent) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for RetentionIntent
impl Serialize for RetentionIntent
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for RetentionIntent
impl StructuralPartialEq for RetentionIntent