pub struct SpendControls {
pub max_amount_per_payment: MaxAmountPerPayment,
pub allowed_assets: AllowedAssets,
}Expand description
Client spend controls enforced before policies.
Fields§
§max_amount_per_payment: MaxAmountPerPaymentPer-payment USD cap on assets find_default_asset recognizes.
allowed_assets: AllowedAssetsOpt-in non-default assets.
Trait Implementations§
Source§impl Clone for SpendControls
impl Clone for SpendControls
Source§fn clone(&self) -> SpendControls
fn clone(&self) -> SpendControls
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SpendControls
impl Debug for SpendControls
Source§impl Default for SpendControls
impl Default for SpendControls
Source§fn default() -> SpendControls
fn default() -> SpendControls
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpendControls
impl RefUnwindSafe for SpendControls
impl Send for SpendControls
impl Sync for SpendControls
impl Unpin for SpendControls
impl UnsafeUnpin for SpendControls
impl UnwindSafe for SpendControls
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