pub struct GetTargetsParamsBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> GetTargetsParamsBuilder<'a>
impl<'a> GetTargetsParamsBuilder<'a>
Sourcepub fn filter(self, filter: TargetFilter<'a>) -> Self
pub fn filter(self, filter: TargetFilter<'a>) -> Self
Only targets matching filter will be reported. If filter is not specified and target discovery is currently enabled, a filter used for target discovery is used for consistency.
pub fn build(self) -> GetTargetsParams<'a>
Trait Implementations§
Source§impl<'a> Default for GetTargetsParamsBuilder<'a>
impl<'a> Default for GetTargetsParamsBuilder<'a>
Source§fn default() -> GetTargetsParamsBuilder<'a>
fn default() -> GetTargetsParamsBuilder<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for GetTargetsParamsBuilder<'a>
impl<'a> RefUnwindSafe for GetTargetsParamsBuilder<'a>
impl<'a> Send for GetTargetsParamsBuilder<'a>
impl<'a> Sync for GetTargetsParamsBuilder<'a>
impl<'a> Unpin for GetTargetsParamsBuilder<'a>
impl<'a> UnsafeUnpin for GetTargetsParamsBuilder<'a>
impl<'a> UnwindSafe for GetTargetsParamsBuilder<'a>
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