pub struct AggregatedCapability {
pub capability_type: CapabilityType,
pub confidence: f32,
pub contributor_count: usize,
pub contributors: Vec<String>,
pub max_authority: Option<AuthorityLevel>,
pub requires_oversight: bool,
}Expand description
Aggregated cell-level capability with human authority integration
Fields§
§capability_type: CapabilityTypeCapability type
confidence: f32Aggregated confidence score (0.0-1.0)
contributor_count: usizeNumber of nodes contributing this capability
contributors: Vec<String>Contributing platform IDs
Highest authority level among contributors
requires_oversight: boolRequires human oversight for mission-critical operations
Implementations§
Source§impl AggregatedCapability
impl AggregatedCapability
Sourcepub fn new(
capability_type: CapabilityType,
confidence: f32,
contributors: Vec<String>,
max_authority: Option<AuthorityLevel>,
) -> Self
pub fn new( capability_type: CapabilityType, confidence: f32, contributors: Vec<String>, max_authority: Option<AuthorityLevel>, ) -> Self
Create a new aggregated capability
Sourcepub fn is_mission_ready(&self) -> bool
pub fn is_mission_ready(&self) -> bool
Check if this capability is mission-ready (high confidence and appropriate authority)
Sourcepub fn effective_confidence(&self) -> f32
pub fn effective_confidence(&self) -> f32
Get effective confidence factoring in authority and oversight
Trait Implementations§
Source§impl Clone for AggregatedCapability
impl Clone for AggregatedCapability
Source§fn clone(&self) -> AggregatedCapability
fn clone(&self) -> AggregatedCapability
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 moreSource§impl Debug for AggregatedCapability
impl Debug for AggregatedCapability
Source§impl<'de> Deserialize<'de> for AggregatedCapability
impl<'de> Deserialize<'de> for AggregatedCapability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AggregatedCapability
impl PartialEq for AggregatedCapability
Source§impl Serialize for AggregatedCapability
impl Serialize for AggregatedCapability
impl StructuralPartialEq for AggregatedCapability
Auto Trait Implementations§
impl Freeze for AggregatedCapability
impl RefUnwindSafe for AggregatedCapability
impl Send for AggregatedCapability
impl Sync for AggregatedCapability
impl Unpin for AggregatedCapability
impl UnsafeUnpin for AggregatedCapability
impl UnwindSafe for AggregatedCapability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more