pub struct Gates {
pub paused: bool,
pub draining: bool,
pub storage_writable: bool,
pub agent_configured: bool,
pub hours_open: bool,
pub at_capacity: bool,
pub has_queued_trigger: bool,
}Expand description
The gates behind a report. All but has_queued_trigger are global; that
one is answered per ticket, since a queued trigger may be pinned to a
ticket other than the one being described.
Fields§
§paused: bool§draining: bool§storage_writable: bool§agent_configured: bool§hours_open: bool§at_capacity: bool§has_queued_trigger: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Gates
impl RefUnwindSafe for Gates
impl Send for Gates
impl Sync for Gates
impl Unpin for Gates
impl UnsafeUnpin for Gates
impl UnwindSafe for Gates
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