pub struct JiraExpressionsComplexityValueBean {
pub value: i32,
pub limit: i32,
}
Fields§
§value: i32
The complexity value of the current expression.
limit: i32
The maximum allowed complexity. The evaluation will fail if this value is exceeded.
Implementations§
Source§impl JiraExpressionsComplexityValueBean
impl JiraExpressionsComplexityValueBean
pub fn new(value: i32, limit: i32) -> JiraExpressionsComplexityValueBean
Trait Implementations§
Source§impl Clone for JiraExpressionsComplexityValueBean
impl Clone for JiraExpressionsComplexityValueBean
Source§fn clone(&self) -> JiraExpressionsComplexityValueBean
fn clone(&self) -> JiraExpressionsComplexityValueBean
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 Default for JiraExpressionsComplexityValueBean
impl Default for JiraExpressionsComplexityValueBean
Source§fn default() -> JiraExpressionsComplexityValueBean
fn default() -> JiraExpressionsComplexityValueBean
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JiraExpressionsComplexityValueBean
impl<'de> Deserialize<'de> for JiraExpressionsComplexityValueBean
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 JiraExpressionsComplexityValueBean
impl PartialEq for JiraExpressionsComplexityValueBean
Source§fn eq(&self, other: &JiraExpressionsComplexityValueBean) -> bool
fn eq(&self, other: &JiraExpressionsComplexityValueBean) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for JiraExpressionsComplexityValueBean
Auto Trait Implementations§
impl Freeze for JiraExpressionsComplexityValueBean
impl RefUnwindSafe for JiraExpressionsComplexityValueBean
impl Send for JiraExpressionsComplexityValueBean
impl Sync for JiraExpressionsComplexityValueBean
impl Unpin for JiraExpressionsComplexityValueBean
impl UnwindSafe for JiraExpressionsComplexityValueBean
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