pub struct CpeMatchParametersBuilder { /* private fields */ }Expand description
Builder for CpeMatchParameters.
Implementations§
Source§impl CpeMatchParametersBuilder
impl CpeMatchParametersBuilder
pub fn cve_id<VALUE: Into<Option<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn last_mod<VALUE: Into<Option<LastModDate>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn match_criteria_id<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn keyword<VALUE: Into<Option<Keyword>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn limit_offset<VALUE: Into<Option<LimitOffset>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<CpeMatchParameters, CpeMatchParametersBuilderError>
pub fn build( &self, ) -> Result<CpeMatchParameters, CpeMatchParametersBuilderError>
Trait Implementations§
Source§impl Clone for CpeMatchParametersBuilder
impl Clone for CpeMatchParametersBuilder
Source§fn clone(&self) -> CpeMatchParametersBuilder
fn clone(&self) -> CpeMatchParametersBuilder
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 moreAuto Trait Implementations§
impl Freeze for CpeMatchParametersBuilder
impl RefUnwindSafe for CpeMatchParametersBuilder
impl Send for CpeMatchParametersBuilder
impl Sync for CpeMatchParametersBuilder
impl Unpin for CpeMatchParametersBuilder
impl UnwindSafe for CpeMatchParametersBuilder
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