pub struct RenewalStats {
pub scouts_current: usize,
pub scouts_expiring: usize,
pub scouts_expired: usize,
pub scout_issues: Vec<(String, String)>,
pub adults_current: usize,
pub adults_expiring: usize,
pub adults_expired: usize,
pub adult_issues: Vec<(String, String)>,
}Expand description
Aggregated membership renewal status across youth and adults.
Fields§
§scouts_current: usize§scouts_expiring: usize§scouts_expired: usize§scout_issues: Vec<(String, String)>(display_name, status_text) for scouts with renewal issues, sorted by name.
adults_current: usize§adults_expiring: usize§adults_expired: usize§adult_issues: Vec<(String, String)>(display_name, status_text) for adults with renewal issues, sorted by name.
Implementations§
Trait Implementations§
Source§impl Clone for RenewalStats
impl Clone for RenewalStats
Source§fn clone(&self) -> RenewalStats
fn clone(&self) -> RenewalStats
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 RenewalStats
impl Debug for RenewalStats
Source§impl Default for RenewalStats
impl Default for RenewalStats
Source§fn default() -> RenewalStats
fn default() -> RenewalStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RenewalStats
impl RefUnwindSafe for RenewalStats
impl Send for RenewalStats
impl Sync for RenewalStats
impl Unpin for RenewalStats
impl UnsafeUnpin for RenewalStats
impl UnwindSafe for RenewalStats
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