pub struct FieldWasClause {
pub field: Box<JqlQueryField>,
pub operator: Operator,
pub operand: Box<JqlQueryClauseOperand>,
pub predicates: Vec<JqlQueryClauseTimePredicate>,
}
Expand description
FieldWasClause : A clause that asserts a previous value of a field. For example, status WAS \"Resolved\" BY currentUser() BEFORE \"2019/02/02\"
. See WAS for more information about the WAS operator.
Fields§
§field: Box<JqlQueryField>
§operator: Operator
The operator between the field and operand.
operand: Box<JqlQueryClauseOperand>
§predicates: Vec<JqlQueryClauseTimePredicate>
The list of time predicates.
Implementations§
Source§impl FieldWasClause
impl FieldWasClause
Sourcepub fn new(
field: JqlQueryField,
operator: Operator,
operand: JqlQueryClauseOperand,
predicates: Vec<JqlQueryClauseTimePredicate>,
) -> FieldWasClause
pub fn new( field: JqlQueryField, operator: Operator, operand: JqlQueryClauseOperand, predicates: Vec<JqlQueryClauseTimePredicate>, ) -> FieldWasClause
A clause that asserts a previous value of a field. For example, status WAS \"Resolved\" BY currentUser() BEFORE \"2019/02/02\"
. See WAS for more information about the WAS operator.
Trait Implementations§
Source§impl Clone for FieldWasClause
impl Clone for FieldWasClause
Source§fn clone(&self) -> FieldWasClause
fn clone(&self) -> FieldWasClause
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 FieldWasClause
impl Debug for FieldWasClause
Source§impl Default for FieldWasClause
impl Default for FieldWasClause
Source§fn default() -> FieldWasClause
fn default() -> FieldWasClause
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FieldWasClause
impl<'de> Deserialize<'de> for FieldWasClause
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 FieldWasClause
impl PartialEq for FieldWasClause
Source§impl Serialize for FieldWasClause
impl Serialize for FieldWasClause
impl StructuralPartialEq for FieldWasClause
Auto Trait Implementations§
impl Freeze for FieldWasClause
impl RefUnwindSafe for FieldWasClause
impl Send for FieldWasClause
impl Sync for FieldWasClause
impl Unpin for FieldWasClause
impl UnwindSafe for FieldWasClause
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