pub struct Targets { /* private fields */ }Expand description
Collection of active and dropped targets as returned by the API.
Implementations§
Source§impl Targets
impl Targets
Sourcepub fn active(&self) -> &[ActiveTarget]
pub fn active(&self) -> &[ActiveTarget]
Get a list of currently active targets.
Sourcepub fn dropped(&self) -> &[DroppedTarget]
pub fn dropped(&self) -> &[DroppedTarget]
Get a list of dropped targets.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Targets
impl<'de> Deserialize<'de> for Targets
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for Targets
impl Freeze for Targetswhere
*const u8 is !null: Freeze,
PhantomData<ActiveTarget>: Freeze,
PhantomData<DroppedTarget>: Freeze,
impl Move for Targets
impl RefUnwindSafe for Targets
impl Send for Targets
impl Sync for Targets
impl Unpin for Targets
impl UnsafeUnpin for Targetswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ActiveTarget>: UnsafeUnpin,
PhantomData<DroppedTarget>: UnsafeUnpin,
impl UnwindSafe for Targets
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