pub struct SetDiscoverTargetsParamsBuilder { /* private fields */ }
Implementations§
source§impl SetDiscoverTargetsParamsBuilder
impl SetDiscoverTargetsParamsBuilder
pub fn discover( self, discover: impl Into<bool> ) -> SetDiscoverTargetsParamsBuilder
pub fn filter( self, filter: impl Into<TargetFilter> ) -> SetDiscoverTargetsParamsBuilder
pub fn build(self) -> Result<SetDiscoverTargetsParams, String>
Trait Implementations§
source§impl Clone for SetDiscoverTargetsParamsBuilder
impl Clone for SetDiscoverTargetsParamsBuilder
source§fn clone(&self) -> SetDiscoverTargetsParamsBuilder
fn clone(&self) -> SetDiscoverTargetsParamsBuilder
Returns a copy 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 moresource§impl Default for SetDiscoverTargetsParamsBuilder
impl Default for SetDiscoverTargetsParamsBuilder
source§fn default() -> SetDiscoverTargetsParamsBuilder
fn default() -> SetDiscoverTargetsParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SetDiscoverTargetsParamsBuilder
impl RefUnwindSafe for SetDiscoverTargetsParamsBuilder
impl Send for SetDiscoverTargetsParamsBuilder
impl Sync for SetDiscoverTargetsParamsBuilder
impl Unpin for SetDiscoverTargetsParamsBuilder
impl UnwindSafe for SetDiscoverTargetsParamsBuilder
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