pub enum LimitOutcome {
Allow,
Reject(String),
}Expand description
限额检查结果
Variants§
Trait Implementations§
Source§impl Clone for LimitOutcome
impl Clone for LimitOutcome
Source§fn clone(&self) -> LimitOutcome
fn clone(&self) -> LimitOutcome
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 LimitOutcome
impl Debug for LimitOutcome
Source§impl PartialEq for LimitOutcome
impl PartialEq for LimitOutcome
impl StructuralPartialEq for LimitOutcome
Auto Trait Implementations§
impl Freeze for LimitOutcome
impl RefUnwindSafe for LimitOutcome
impl Send for LimitOutcome
impl Sync for LimitOutcome
impl Unpin for LimitOutcome
impl UnwindSafe for LimitOutcome
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