pub struct TargetInfo {
pub id: Option<u8>,
pub sub_targets: Option<Vec<SubTargetInfo>>,
pub name: Option<String>,
pub display_name: Option<String>,
}Fields§
§id: Option<u8>§sub_targets: Option<Vec<SubTargetInfo>>§name: Option<String>§display_name: Option<String>Trait Implementations§
Source§impl Clone for TargetInfo
impl Clone for TargetInfo
Source§fn clone(&self) -> TargetInfo
fn clone(&self) -> TargetInfo
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 TargetInfo
impl Debug for TargetInfo
Source§impl Default for TargetInfo
impl Default for TargetInfo
Source§fn default() -> TargetInfo
fn default() -> TargetInfo
Returns the “default value” for a type. Read more
Source§impl<'a, ___E> Encode<TargetInfo<'static>, ___E> for &'a TargetInfowhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<TargetInfo<'static>, ___E> for &'a TargetInfowhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<TargetInfo<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<TargetInfo<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<___E> Encode<TargetInfo<'static>, ___E> for TargetInfowhere
___E: Encoder + ?Sized,
impl<___E> Encode<TargetInfo<'static>, ___E> for TargetInfowhere
___E: Encoder + ?Sized,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<TargetInfo<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<TargetInfo<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<TargetInfo<'de>> for TargetInfo
impl<'de> FromWire<TargetInfo<'de>> for TargetInfo
Source§fn from_wire(wire_: TargetInfo<'de>) -> Self
fn from_wire(wire_: TargetInfo<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> FromWireRef<TargetInfo<'de>> for TargetInfo
impl<'de> FromWireRef<TargetInfo<'de>> for TargetInfo
Source§fn from_wire_ref(wire: &TargetInfo<'de>) -> Self
fn from_wire_ref(wire: &TargetInfo<'de>) -> Self
Converts the given reference to this type.
Source§impl Hash for TargetInfo
impl Hash for TargetInfo
Source§impl Ord for TargetInfo
impl Ord for TargetInfo
Source§fn cmp(&self, other: &TargetInfo) -> Ordering
fn cmp(&self, other: &TargetInfo) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TargetInfo
impl PartialEq for TargetInfo
Source§fn eq(&self, other: &TargetInfo) -> bool
fn eq(&self, other: &TargetInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TargetInfo
impl PartialOrd for TargetInfo
impl Eq for TargetInfo
impl StructuralPartialEq for TargetInfo
Auto Trait Implementations§
impl Freeze for TargetInfo
impl RefUnwindSafe for TargetInfo
impl Send for TargetInfo
impl Sync for TargetInfo
impl Unpin for TargetInfo
impl UnsafeUnpin for TargetInfo
impl UnwindSafe for TargetInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]