pub enum TargetType<'a> {
Show 15 variants
Artifact,
Command,
File,
Device,
DomainName,
EmailAddr,
Features,
Ipv4Net,
Ipv6Net,
Ipv4Connection,
Ipv6Connection,
MacAddr,
Process,
Uri,
ProfileDefined(ProfileTargetType<'a>),
}Variants§
Artifact
Command
File
Device
DomainName
EmailAddr
Features
Ipv4Net
Ipv6Net
Ipv4Connection
Ipv6Connection
MacAddr
Process
Uri
ProfileDefined(ProfileTargetType<'a>)
Trait Implementations§
Source§impl<'a> Clone for TargetType<'a>
impl<'a> Clone for TargetType<'a>
Source§fn clone(&self) -> TargetType<'a>
fn clone(&self) -> TargetType<'a>
Returns a duplicate 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<'a> Debug for TargetType<'a>
impl<'a> Debug for TargetType<'a>
Source§impl<'de, 'a> Deserialize<'de> for TargetType<'a>
impl<'de, 'a> Deserialize<'de> for TargetType<'a>
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<'a> Display for TargetType<'a>
impl<'a> Display for TargetType<'a>
Source§impl<'a, V> From<&'a Target<V>> for TargetType<'a>
impl<'a, V> From<&'a Target<V>> for TargetType<'a>
Source§impl<'a> Hash for TargetType<'a>
impl<'a> Hash for TargetType<'a>
Source§impl<'a> Ord for TargetType<'a>
impl<'a> Ord for TargetType<'a>
Source§fn cmp(&self, other: &TargetType<'a>) -> Ordering
fn cmp(&self, other: &TargetType<'a>) -> Ordering
1.21.0 · 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<'a> PartialEq for TargetType<'a>
impl<'a> PartialEq for TargetType<'a>
Source§impl<'a> PartialOrd for TargetType<'a>
impl<'a> PartialOrd for TargetType<'a>
Source§impl<'a> Serialize for TargetType<'a>
impl<'a> Serialize for TargetType<'a>
impl<'a> Eq for TargetType<'a>
impl<'a> StructuralPartialEq for TargetType<'a>
Auto Trait Implementations§
impl<'a> Freeze for TargetType<'a>
impl<'a> RefUnwindSafe for TargetType<'a>
impl<'a> Send for TargetType<'a>
impl<'a> Sync for TargetType<'a>
impl<'a> Unpin for TargetType<'a>
impl<'a> UnwindSafe for TargetType<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.