pub struct ConnectionConstraints {
pub purposes: Option<Vec<String>>,
pub category_purposes: Option<Vec<String>>,
pub limits: Option<TransactionLimits>,
pub allowed_beneficiaries: Option<Vec<Party>>,
pub allowed_settlement_addresses: Option<Vec<String>>,
pub allowed_assets: Option<Vec<String>>,
}Expand description
Connection constraints for the Connect message (TAIP-15).
Fields§
§purposes: Option<Vec<String>>Allowed TAIP-13 purpose codes.
category_purposes: Option<Vec<String>>Allowed TAIP-13 category purpose codes.
limits: Option<TransactionLimits>Transaction limits.
allowed_beneficiaries: Option<Vec<Party>>Allowed beneficiary parties (TAIP-6 Party objects).
allowed_settlement_addresses: Option<Vec<String>>Allowed settlement addresses (CAIP-10 format).
allowed_assets: Option<Vec<String>>Allowed asset identifiers (CAIP-19 format).
Trait Implementations§
Source§impl Clone for ConnectionConstraints
impl Clone for ConnectionConstraints
Source§fn clone(&self) -> ConnectionConstraints
fn clone(&self) -> ConnectionConstraints
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 ConnectionConstraints
impl Debug for ConnectionConstraints
Source§impl<'de> Deserialize<'de> for ConnectionConstraints
impl<'de> Deserialize<'de> for ConnectionConstraints
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConnectionConstraints
impl RefUnwindSafe for ConnectionConstraints
impl Send for ConnectionConstraints
impl Sync for ConnectionConstraints
impl Unpin for ConnectionConstraints
impl UnsafeUnpin for ConnectionConstraints
impl UnwindSafe for ConnectionConstraints
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