pub struct RuleConstraints {
pub timeout_ms: Option<u64>,
}Fields§
§timeout_ms: Option<u64>Max execution time in ms (soft limit)
Trait Implementations§
Source§impl Clone for RuleConstraints
impl Clone for RuleConstraints
Source§fn clone(&self) -> RuleConstraints
fn clone(&self) -> RuleConstraints
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 RuleConstraints
impl Debug for RuleConstraints
Source§impl<'de> Deserialize<'de> for RuleConstraints
impl<'de> Deserialize<'de> for RuleConstraints
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 RuleConstraints
impl RefUnwindSafe for RuleConstraints
impl Send for RuleConstraints
impl Sync for RuleConstraints
impl Unpin for RuleConstraints
impl UnsafeUnpin for RuleConstraints
impl UnwindSafe for RuleConstraints
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