pub struct AssessmentsParameters {Show 17 fields
pub id: Option<Uuid>,
pub editor_id: Option<Uuid>,
pub topic_id: Option<Uuid>,
pub created: Option<NaiveDate>,
pub created_after: Option<NaiveDate>,
pub created_before: Option<NaiveDate>,
pub revision_date: Option<NaiveDate>,
pub revised_after: Option<NaiveDate>,
pub revised_before: Option<NaiveDate>,
pub document: Option<String>,
pub score: Option<i32>,
pub metadata: Option<String>,
pub q: Option<String>,
pub page: i32,
pub size: i32,
pub sort: Option<String>,
pub expand: Option<String>,
}
Fields§
§id: Option<Uuid>
The UUID of a specific assessment to return. Example: c0f010fe-da9c-4aa6-b898-c57d483df51b
editor_id: Option<Uuid>
The UUID of a contributor. Example: c28a806c-84c7-44bf-95d3-1241475de5bf
topic_id: Option<Uuid>
The UUID of the topic this assessment was based on. Example: c28a806c-84c7-44bf-95d3-1241475de5bf
created: Option<NaiveDate>
Return all assessments that were created on the given date. Example: 2019-07-04
created_after: Option<NaiveDate>
Return all assessments that were created after the given date. Example: 2019-07-04
created_before: Option<NaiveDate>
Return all assessments that were created before the given date. Example: 2019-07-04
revision_date: Option<NaiveDate>
Return all assessments that were last edited on the given date. Example: 2019-07-04
revised_after: Option<NaiveDate>
Return all assessments that were last edited after the given date. Example: 2019-07-04
revised_before: Option<NaiveDate>
Return all assessments that were last edited before the given date. Example: 2019-07-04
document: Option<String>
Return all topics that were disclosed on the given date. Example: 2019-07-04
score: Option<i32>
Return all assessments with this score.
metadata: Option<String>
Text to query the metadata attribute. A substring match is performed Example : metasploit
q: Option<String>
Return all assessments that have content that matches the query string q.
page: i32
Pagination page number. Default value : 0
size: i32
The number of topics returned per page. Default value : 10
sort: Option<String>
Sort by assessment attribute. This parameter takes the form attribute:order. attribute: id, editorId, created, revisionDate, document, score, metadata order: asc (ascending), desc (descending) Each attribute is sorted by its respective type.
expand: Option<String>
Comma separated list of related objects to fully expand in the returned result. Only the id of related objects will be included if this parameter is not specified.
Trait Implementations§
Source§impl Clone for AssessmentsParameters
impl Clone for AssessmentsParameters
Source§fn clone(&self) -> AssessmentsParameters
fn clone(&self) -> AssessmentsParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more