pub struct GetOrgCommunicationProfileResponse {
pub lever_mix: Vec<LeverShare>,
pub load: Option<RecipientLoad>,
pub campaigns_analyzed: i32,
pub evidence_coverage: Option<f32>,
pub objectives_with_external_evidence: i32,
pub active_objectives: i32,
pub median_indicator_review_age_days: Option<i64>,
}Fields§
§lever_mix: Vec<LeverShare>§load: Option<RecipientLoad>§campaigns_analyzed: i32§evidence_coverage: Option<f32>Fraction of active objectives that have at least one indicator whose evidence comes from outside the product, 0..1.
It says how much the rest of the board is worth: an objective observed only through what people answered inside the app has evidence that they said they did it, not evidence that the work changed.
Absent when active_objectives is zero, because a fraction with no
denominator has no value and a present 0.0 would be
indistinguishable from genuine coverage of none — opposite facts
with opposite consequences. The two counts below travel with it as
the second half of the same guarantee.
objectives_with_external_evidence: i32Numerator of evidence_coverage: active objectives with at least
one indicator sourced outside the product.
active_objectives: i32Denominator of evidence_coverage: active objectives. Zero means
the organization has declared none, which is a supported way to use
the product and not an incomplete setup.
median_indicator_review_age_days: Option<i64>Median number of days since the organization’s indicators were last revised, measured from each indicator’s last update.
Indicators are rarely revisited when the strategy they serve moves on, and this is the plainest measurable form of that: an ageing median means the board is describing an older intent than the objectives do.
Absent when the organization has no indicators. An age of zero would claim they were all just reviewed.
Implementations§
Source§impl GetOrgCommunicationProfileResponse
impl GetOrgCommunicationProfileResponse
Sourcepub fn evidence_coverage(&self) -> f32
pub fn evidence_coverage(&self) -> f32
Returns the value of evidence_coverage, or the default value if evidence_coverage is unset.
Sourcepub fn median_indicator_review_age_days(&self) -> i64
pub fn median_indicator_review_age_days(&self) -> i64
Returns the value of median_indicator_review_age_days, or the default value if median_indicator_review_age_days is unset.
Trait Implementations§
Source§impl Clone for GetOrgCommunicationProfileResponse
impl Clone for GetOrgCommunicationProfileResponse
Source§fn clone(&self) -> GetOrgCommunicationProfileResponse
fn clone(&self) -> GetOrgCommunicationProfileResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Message for GetOrgCommunicationProfileResponse
impl Message for GetOrgCommunicationProfileResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.impl StructuralPartialEq for GetOrgCommunicationProfileResponse
Auto Trait Implementations§
impl Freeze for GetOrgCommunicationProfileResponse
impl RefUnwindSafe for GetOrgCommunicationProfileResponse
impl Send for GetOrgCommunicationProfileResponse
impl Sync for GetOrgCommunicationProfileResponse
impl Unpin for GetOrgCommunicationProfileResponse
impl UnsafeUnpin for GetOrgCommunicationProfileResponse
impl UnwindSafe for GetOrgCommunicationProfileResponse
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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request