pub struct TargetNameWithHosts {
pub hosts: Option<Vec<String>>,
pub target_name: Option<String>,
}Fields§
§hosts: Option<Vec<String>>§target_name: Option<String>Implementations§
Source§impl TargetNameWithHosts
impl TargetNameWithHosts
pub fn new() -> TargetNameWithHosts
Trait Implementations§
Source§impl Clone for TargetNameWithHosts
impl Clone for TargetNameWithHosts
Source§fn clone(&self) -> TargetNameWithHosts
fn clone(&self) -> TargetNameWithHosts
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 TargetNameWithHosts
impl Debug for TargetNameWithHosts
Source§impl Default for TargetNameWithHosts
impl Default for TargetNameWithHosts
Source§fn default() -> TargetNameWithHosts
fn default() -> TargetNameWithHosts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TargetNameWithHosts
impl<'de> Deserialize<'de> for TargetNameWithHosts
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 TargetNameWithHosts
impl PartialEq for TargetNameWithHosts
Source§fn eq(&self, other: &TargetNameWithHosts) -> bool
fn eq(&self, other: &TargetNameWithHosts) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetNameWithHosts
impl Serialize for TargetNameWithHosts
impl StructuralPartialEq for TargetNameWithHosts
Auto Trait Implementations§
impl Freeze for TargetNameWithHosts
impl RefUnwindSafe for TargetNameWithHosts
impl Send for TargetNameWithHosts
impl Sync for TargetNameWithHosts
impl Unpin for TargetNameWithHosts
impl UnsafeUnpin for TargetNameWithHosts
impl UnwindSafe for TargetNameWithHosts
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