pub struct P2PIntegrationConfig {
pub off_contract_rate: f64,
pub price_tolerance: f64,
pub catalog_enforcement: bool,
}Expand description
P2P integration settings for contract enforcement.
Fields§
§off_contract_rate: f64Rate of off-contract (maverick) purchases
price_tolerance: f64Price tolerance for contract price validation
catalog_enforcement: boolWhether to enforce catalog ordering
Trait Implementations§
Source§impl Clone for P2PIntegrationConfig
impl Clone for P2PIntegrationConfig
Source§fn clone(&self) -> P2PIntegrationConfig
fn clone(&self) -> P2PIntegrationConfig
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 P2PIntegrationConfig
impl Debug for P2PIntegrationConfig
Source§impl Default for P2PIntegrationConfig
impl Default for P2PIntegrationConfig
Source§impl<'de> Deserialize<'de> for P2PIntegrationConfig
impl<'de> Deserialize<'de> for P2PIntegrationConfig
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 P2PIntegrationConfig
impl RefUnwindSafe for P2PIntegrationConfig
impl Send for P2PIntegrationConfig
impl Sync for P2PIntegrationConfig
impl Unpin for P2PIntegrationConfig
impl UnsafeUnpin for P2PIntegrationConfig
impl UnwindSafe for P2PIntegrationConfig
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