pub struct LimitsPanelProps<'__a> {
pub check: &'__a LimitCheck,
pub currency: Currency,
}Expand description
Progress of each spending limit (daily / weekly / monthly), coloured by how close it is. Renders nothing when no limit is set.
Fields§
§check: &'__a LimitCheck§currency: CurrencyImplementations§
Source§impl<'__a> LimitsPanelProps<'__a>
impl<'__a> LimitsPanelProps<'__a>
Sourcepub fn builder() -> LimitsPanelPropsBuilder<'__a, check, currency>
pub fn builder() -> LimitsPanelPropsBuilder<'__a, check, currency>
Returns a LimitsPanelPropsBuilder with no properties set.
Trait Implementations§
Auto Trait Implementations§
impl<'__a> Freeze for LimitsPanelProps<'__a>
impl<'__a> RefUnwindSafe for LimitsPanelProps<'__a>
impl<'__a> Send for LimitsPanelProps<'__a>
impl<'__a> Sync for LimitsPanelProps<'__a>
impl<'__a> Unpin for LimitsPanelProps<'__a>
impl<'__a> UnsafeUnpin for LimitsPanelProps<'__a>
impl<'__a> UnwindSafe for LimitsPanelProps<'__a>
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