pub struct TargetList {
pub targets: Option<Vec<TargetView>>,
}Fields§
§targets: Option<Vec<TargetView>>Targets is every target registered to the caller’s org.
Implementations§
Source§impl TargetList
impl TargetList
pub fn new() -> TargetList
Trait Implementations§
Source§impl Clone for TargetList
impl Clone for TargetList
Source§fn clone(&self) -> TargetList
fn clone(&self) -> TargetList
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetList
impl Debug for TargetList
Source§impl Default for TargetList
impl Default for TargetList
Source§fn default() -> TargetList
fn default() -> TargetList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetList
impl<'de> Deserialize<'de> for TargetList
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
Source§impl PartialEq for TargetList
impl PartialEq for TargetList
Source§impl Serialize for TargetList
impl Serialize for TargetList
impl StructuralPartialEq for TargetList
Auto Trait Implementations§
impl Freeze for TargetList
impl RefUnwindSafe for TargetList
impl Send for TargetList
impl Sync for TargetList
impl Unpin for TargetList
impl UnsafeUnpin for TargetList
impl UnwindSafe for TargetList
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