pub struct ApprovalThreshold {
pub amount: Decimal,
pub level: u8,
pub required_personas: Vec<UserPersona>,
}Expand description
Single threshold in the approval chain.
Fields§
§amount: DecimalAmount threshold
level: u8Approval level required
required_personas: Vec<UserPersona>Personas required to approve at this level
Trait Implementations§
Source§impl Clone for ApprovalThreshold
impl Clone for ApprovalThreshold
Source§fn clone(&self) -> ApprovalThreshold
fn clone(&self) -> ApprovalThreshold
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 moreAuto Trait Implementations§
impl Freeze for ApprovalThreshold
impl RefUnwindSafe for ApprovalThreshold
impl Send for ApprovalThreshold
impl Sync for ApprovalThreshold
impl Unpin for ApprovalThreshold
impl UnwindSafe for ApprovalThreshold
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