pub struct ParsedJqlQuery {
pub query: String,
pub structure: Option<Box<JqlQuery>>,
pub errors: Option<Vec<String>>,
}
Expand description
ParsedJqlQuery : Details of a parsed JQL query.
Fields§
§query: String
The JQL query that was parsed and validated.
structure: Option<Box<JqlQuery>>
The syntax tree of the query. Empty if the query was invalid.
errors: Option<Vec<String>>
The list of syntax or validation errors.
Implementations§
Source§impl ParsedJqlQuery
impl ParsedJqlQuery
Sourcepub fn new(query: String) -> ParsedJqlQuery
pub fn new(query: String) -> ParsedJqlQuery
Details of a parsed JQL query.
Trait Implementations§
Source§impl Clone for ParsedJqlQuery
impl Clone for ParsedJqlQuery
Source§fn clone(&self) -> ParsedJqlQuery
fn clone(&self) -> ParsedJqlQuery
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 ParsedJqlQuery
impl Debug for ParsedJqlQuery
Source§impl Default for ParsedJqlQuery
impl Default for ParsedJqlQuery
Source§fn default() -> ParsedJqlQuery
fn default() -> ParsedJqlQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParsedJqlQuery
impl<'de> Deserialize<'de> for ParsedJqlQuery
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 ParsedJqlQuery
impl PartialEq for ParsedJqlQuery
Source§impl Serialize for ParsedJqlQuery
impl Serialize for ParsedJqlQuery
impl StructuralPartialEq for ParsedJqlQuery
Auto Trait Implementations§
impl Freeze for ParsedJqlQuery
impl RefUnwindSafe for ParsedJqlQuery
impl Send for ParsedJqlQuery
impl Sync for ParsedJqlQuery
impl Unpin for ParsedJqlQuery
impl UnwindSafe for ParsedJqlQuery
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