pub struct JiraExpressionResult {
pub value: Option<Value>,
pub meta: Option<Box<JiraExpressionEvaluationMetaDataBean>>,
}
Expand description
JiraExpressionResult : The result of evaluating a Jira expression.
Fields§
§value: Option<Value>
The value of the evaluated expression. It may be a primitive JSON value or a Jira REST API object. (Some expressions do not produce any meaningful results—for example, an expression that returns a lambda function—if that’s the case a simple string representation is returned. These string representations should not be relied upon and may change without notice.)
meta: Option<Box<JiraExpressionEvaluationMetaDataBean>>
Contains various characteristics of the performed expression evaluation.
Implementations§
Source§impl JiraExpressionResult
impl JiraExpressionResult
Sourcepub fn new(value: Option<Value>) -> JiraExpressionResult
pub fn new(value: Option<Value>) -> JiraExpressionResult
The result of evaluating a Jira expression.
Trait Implementations§
Source§impl Clone for JiraExpressionResult
impl Clone for JiraExpressionResult
Source§fn clone(&self) -> JiraExpressionResult
fn clone(&self) -> JiraExpressionResult
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 JiraExpressionResult
impl Debug for JiraExpressionResult
Source§impl Default for JiraExpressionResult
impl Default for JiraExpressionResult
Source§fn default() -> JiraExpressionResult
fn default() -> JiraExpressionResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JiraExpressionResult
impl<'de> Deserialize<'de> for JiraExpressionResult
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 JiraExpressionResult
impl PartialEq for JiraExpressionResult
Source§impl Serialize for JiraExpressionResult
impl Serialize for JiraExpressionResult
impl StructuralPartialEq for JiraExpressionResult
Auto Trait Implementations§
impl Freeze for JiraExpressionResult
impl RefUnwindSafe for JiraExpressionResult
impl Send for JiraExpressionResult
impl Sync for JiraExpressionResult
impl Unpin for JiraExpressionResult
impl UnwindSafe for JiraExpressionResult
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