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