pub struct SingleRecommendationApplyResultBuilder { /* private fields */ }
Expand description
Builder for SingleRecommendationApplyResult
.
Implementations§
Source§impl SingleRecommendationApplyResultBuilder
impl SingleRecommendationApplyResultBuilder
pub fn namespace(&mut self, value: String) -> &mut Self
pub fn job_id(&mut self, value: String) -> &mut Self
pub fn job_modify_index(&mut self, value: u64) -> &mut Self
pub fn eval_id(&mut self, value: String) -> &mut Self
pub fn eval_create_index(&mut self, value: u64) -> &mut Self
pub fn warnings(&mut self, value: String) -> &mut Self
pub fn recommendations(&mut self, value: Vec<String>) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<SingleRecommendationApplyResult, SingleRecommendationApplyResultBuilderError>
pub fn build( &self, ) -> Result<SingleRecommendationApplyResult, SingleRecommendationApplyResultBuilderError>
Trait Implementations§
Source§impl Clone for SingleRecommendationApplyResultBuilder
impl Clone for SingleRecommendationApplyResultBuilder
Source§fn clone(&self) -> SingleRecommendationApplyResultBuilder
fn clone(&self) -> SingleRecommendationApplyResultBuilder
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 SingleRecommendationApplyResultBuilder
impl RefUnwindSafe for SingleRecommendationApplyResultBuilder
impl Send for SingleRecommendationApplyResultBuilder
impl Sync for SingleRecommendationApplyResultBuilder
impl Unpin for SingleRecommendationApplyResultBuilder
impl UnwindSafe for SingleRecommendationApplyResultBuilder
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