pub struct TargetNode {
pub id: String,
pub require: Option<Vec<String>>,
pub prefer: Option<Vec<String>>,
}Expand description
Node configuration within a target
Fields§
§id: String§require: Option<Vec<String>>§prefer: Option<Vec<String>>Trait Implementations§
Source§impl Clone for TargetNode
impl Clone for TargetNode
Source§fn clone(&self) -> TargetNode
fn clone(&self) -> TargetNode
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 Debug for TargetNode
impl Debug for TargetNode
Source§impl<'de> Deserialize<'de> for TargetNode
impl<'de> Deserialize<'de> for TargetNode
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 Freeze for TargetNode
impl RefUnwindSafe for TargetNode
impl Send for TargetNode
impl Sync for TargetNode
impl Unpin for TargetNode
impl UnwindSafe for TargetNode
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