pub struct AntiSprawlConfig {
pub max_trajectory_depth: i32,
pub max_concurrent_scopes: i32,
}Expand description
Configuration for anti-sprawl measures.
Fields§
§max_trajectory_depth: i32Maximum trajectory depth (nested trajectories)
max_concurrent_scopes: i32Maximum concurrent scopes
Trait Implementations§
Source§impl Clone for AntiSprawlConfig
impl Clone for AntiSprawlConfig
Source§fn clone(&self) -> AntiSprawlConfig
fn clone(&self) -> AntiSprawlConfig
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 AntiSprawlConfig
impl Debug for AntiSprawlConfig
Source§impl<'de> Deserialize<'de> for AntiSprawlConfig
impl<'de> Deserialize<'de> for AntiSprawlConfig
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
Source§impl PartialEq for AntiSprawlConfig
impl PartialEq for AntiSprawlConfig
Source§impl Serialize for AntiSprawlConfig
impl Serialize for AntiSprawlConfig
impl StructuralPartialEq for AntiSprawlConfig
Auto Trait Implementations§
impl Freeze for AntiSprawlConfig
impl RefUnwindSafe for AntiSprawlConfig
impl Send for AntiSprawlConfig
impl Sync for AntiSprawlConfig
impl Unpin for AntiSprawlConfig
impl UnwindSafe for AntiSprawlConfig
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