pub struct AcquisitionBankStatus { /* private fields */ }
Expand description
Represents the status of all TSC groups in an acquisition bank
Implementations§
Source§impl AcquisitionBankStatus
impl AcquisitionBankStatus
Sourcepub fn all_complete(&self) -> bool
pub fn all_complete(&self) -> bool
Check if all groups in the bank are complete
Sourcepub fn any_ongoing(&self) -> bool
pub fn any_ongoing(&self) -> bool
Check if any group in the bank is ongoing
Sourcepub fn get_group_status(&self, group: Group) -> Option<GroupStatus>
pub fn get_group_status(&self, group: Group) -> Option<GroupStatus>
Get the status of a specific group, if the group is present in the bank
Sourcepub fn iter(&self) -> impl Iterator<Item = (Group, GroupStatus)> + '_
pub fn iter(&self) -> impl Iterator<Item = (Group, GroupStatus)> + '_
Iterator for groups present in the bank
Trait Implementations§
Source§impl Default for AcquisitionBankStatus
impl Default for AcquisitionBankStatus
Source§fn default() -> AcquisitionBankStatus
fn default() -> AcquisitionBankStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AcquisitionBankStatus
impl RefUnwindSafe for AcquisitionBankStatus
impl Send for AcquisitionBankStatus
impl Sync for AcquisitionBankStatus
impl Unpin for AcquisitionBankStatus
impl UnwindSafe for AcquisitionBankStatus
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