pub struct JiraExpressionAnalysis {
pub complexity: Option<Box<JiraExpressionComplexity>>,
pub errors: Option<Vec<JiraExpressionValidationError>>,
pub expression: String,
pub type: Option<String>,
pub valid: bool,
}
Expand description
JiraExpressionAnalysis : Details about the analysed Jira expression.
Fields§
§complexity: Option<Box<JiraExpressionComplexity>>
§errors: Option<Vec<JiraExpressionValidationError>>
A list of validation errors. Not included if the expression is valid.
expression: String
The analysed expression.
type: Option<String>
EXPERIMENTAL. The inferred type of the expression.
valid: bool
Whether the expression is valid and the interpreter will evaluate it. Note that the expression may fail at runtime (for example, if it executes too many expensive operations).
Implementations§
Source§impl JiraExpressionAnalysis
impl JiraExpressionAnalysis
Sourcepub fn new(expression: String, valid: bool) -> JiraExpressionAnalysis
pub fn new(expression: String, valid: bool) -> JiraExpressionAnalysis
Details about the analysed Jira expression.
Trait Implementations§
Source§impl Clone for JiraExpressionAnalysis
impl Clone for JiraExpressionAnalysis
Source§fn clone(&self) -> JiraExpressionAnalysis
fn clone(&self) -> JiraExpressionAnalysis
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 JiraExpressionAnalysis
impl Debug for JiraExpressionAnalysis
Source§impl Default for JiraExpressionAnalysis
impl Default for JiraExpressionAnalysis
Source§fn default() -> JiraExpressionAnalysis
fn default() -> JiraExpressionAnalysis
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JiraExpressionAnalysis
impl<'de> Deserialize<'de> for JiraExpressionAnalysis
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 JiraExpressionAnalysis
impl PartialEq for JiraExpressionAnalysis
Source§impl Serialize for JiraExpressionAnalysis
impl Serialize for JiraExpressionAnalysis
impl StructuralPartialEq for JiraExpressionAnalysis
Auto Trait Implementations§
impl Freeze for JiraExpressionAnalysis
impl RefUnwindSafe for JiraExpressionAnalysis
impl Send for JiraExpressionAnalysis
impl Sync for JiraExpressionAnalysis
impl Unpin for JiraExpressionAnalysis
impl UnwindSafe for JiraExpressionAnalysis
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