pub struct ConnectionConstraints {
pub purposes: Option<Vec<String>>,
pub category_purposes: Option<Vec<String>>,
pub limits: Option<TransactionLimits>,
}Expand description
Connection constraints for the Connect message.
Fields§
§purposes: Option<Vec<String>>Allowed purposes.
category_purposes: Option<Vec<String>>Allowed category purposes.
limits: Option<TransactionLimits>Transaction limits.
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 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