#[non_exhaustive]pub enum Allowance {
Yes,
No,
Unknown,
}Available on non-crate feature
tooling only.Expand description
What the UPD says about an order for an account.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Yes
The account lists the order.
No
The account does not list it, and the UPD usage is closed.
Unknown
The account does not list it, and the UPD usage is open.
Trait Implementations§
impl Copy for Allowance
impl Eq for Allowance
impl StructuralPartialEq for Allowance
Auto Trait Implementations§
impl Forget for Allowance
impl Freeze for Allowance
impl Move for Allowance
impl RefUnwindSafe for Allowance
impl Send for Allowance
impl Sync for Allowance
impl Unpin for Allowance
impl UnsafeUnpin for Allowance
impl UnwindSafe for Allowance
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