pub struct CpeParametersBuilder { /* private fields */ }Expand description
Builder for CpeParameters.
Implementations§
Source§impl CpeParametersBuilder
impl CpeParametersBuilder
pub fn cpe_name_id<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn cpe_match_string<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 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 limit_offset<VALUE: Into<Option<LimitOffset>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<CpeParameters, CpeParametersBuilderError>
pub fn build(&self) -> Result<CpeParameters, CpeParametersBuilderError>
Trait Implementations§
Source§impl Clone for CpeParametersBuilder
impl Clone for CpeParametersBuilder
Source§fn clone(&self) -> CpeParametersBuilder
fn clone(&self) -> CpeParametersBuilder
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 CpeParametersBuilder
impl RefUnwindSafe for CpeParametersBuilder
impl Send for CpeParametersBuilder
impl Sync for CpeParametersBuilder
impl Unpin for CpeParametersBuilder
impl UnwindSafe for CpeParametersBuilder
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