pub struct TopicsParametersBuilder { /* private fields */ }
Expand description
Builder for TopicsParameters
.
Implementations§
Source§impl TopicsParametersBuilder
impl TopicsParametersBuilder
Sourcepub fn id<VALUE: Into<Option<Uuid>>>(&mut self, value: VALUE) -> &mut Self
pub fn id<VALUE: Into<Option<Uuid>>>(&mut self, value: VALUE) -> &mut Self
The UUID of a specific topic to return. Example: c0f010fe-da9c-4aa6-b898-c57d483df51b
Sourcepub fn editor_id<VALUE: Into<Option<Uuid>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn editor_id<VALUE: Into<Option<Uuid>>>( &mut self, value: VALUE, ) -> &mut Self
The UUID of a contributor. Example: c28a806c-84c7-44bf-95d3-1241475de5bf
Sourcepub fn name<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
Text to query the name attribute. A substring match is performed Example: bluekeep
Sourcepub fn created<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn created<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics that were created on the given date. Example: 2019-07-04
Sourcepub fn created_after<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn created_after<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics that were created after the given date. Example: 2019-07-04
Sourcepub fn created_before<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn created_before<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics that were created before the given date. Example: 2019-07-04
Sourcepub fn revision_date<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn revision_date<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics that were last edited on the given date. Example: 2019-07-04
Sourcepub fn revised_after<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn revised_after<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics that were last edited after the given date. Example: 2019-07-04
Sourcepub fn revised_before<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn revised_before<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics that were last edited before the given date. Example: 2019-07-04
Sourcepub fn disclosure_date<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn disclosure_date<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics that were disclosed on the given date. Example: 2019-07-04
Sourcepub fn document<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn document<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
Text to query the document attribute. A substring match is performed Example : RDP
Sourcepub fn metadata<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn metadata<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
Text to query the metadata attribute. A substring match is performed Example : metasploit
Sourcepub fn featured<VALUE: Into<Option<bool>>>(&mut self, value: VALUE) -> &mut Self
pub fn featured<VALUE: Into<Option<bool>>>(&mut self, value: VALUE) -> &mut Self
Return all topics that are featured.
Sourcepub fn rapid7_analysis_created<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn rapid7_analysis_created<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics where the rapid7Analysis was created on the given date. Example: 2019-07-04
Sourcepub fn rapid7_analysis_created_after<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn rapid7_analysis_created_after<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics where the rapid7Analysis was created after the given date. Example: 2019-07-04
Sourcepub fn rapid7_analysis_created_before<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn rapid7_analysis_created_before<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics where the rapid7Analysis was created before the given date. Example: 2019-07-04
Sourcepub fn rapid7_analysis_revision_date<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn rapid7_analysis_revision_date<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics where the rapid7Analysis was last edited on the given date. Example: 2019-07-04
Sourcepub fn rapid7_analysis_revised_after<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn rapid7_analysis_revised_after<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics where the rapid7Analysis was last edited after the given date. Example: 2019-07-04
Sourcepub fn rapid7_analysis_revised_before<VALUE: Into<Option<NaiveDate>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn rapid7_analysis_revised_before<VALUE: Into<Option<NaiveDate>>>( &mut self, value: VALUE, ) -> &mut Self
Return all topics where the rapid7Analysis was last edited before the given date. Example: 2019-07-04
Sourcepub fn q<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn q<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
Return all topics that have content that matches the query string q. Example : eternal blue
Sourcepub fn page<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
pub fn page<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
Pagination page number. Default value : 0
Sourcepub fn size<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
pub fn size<VALUE: Into<i32>>(&mut self, value: VALUE) -> &mut Self
The number of topics returned per page. Default value : 10
pub fn sort<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn expand<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<TopicsParameters, TopicsParametersBuilderError>
pub fn build(&self) -> Result<TopicsParameters, TopicsParametersBuilderError>
Trait Implementations§
Source§impl Clone for TopicsParametersBuilder
impl Clone for TopicsParametersBuilder
Source§fn clone(&self) -> TopicsParametersBuilder
fn clone(&self) -> TopicsParametersBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more