pub struct ConfiguredTarget {
pub name: String,
pub model: Option<TargetModel>,
}Expand description
ConfiguredTarget names one target that a route uses.
Fields§
§name: String§model: Option<TargetModel>This field holds the client and model from the [targets] or [decision_targets]
entry with this name. It is None when no entry has the name; the server refuses to
start with such a config.
Trait Implementations§
Source§impl Clone for ConfiguredTarget
impl Clone for ConfiguredTarget
Source§fn clone(&self) -> ConfiguredTarget
fn clone(&self) -> ConfiguredTarget
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 ConfiguredTarget
impl Debug for ConfiguredTarget
impl Eq for ConfiguredTarget
Source§impl PartialEq for ConfiguredTarget
impl PartialEq for ConfiguredTarget
impl StructuralPartialEq for ConfiguredTarget
Auto Trait Implementations§
impl Freeze for ConfiguredTarget
impl RefUnwindSafe for ConfiguredTarget
impl Send for ConfiguredTarget
impl Sync for ConfiguredTarget
impl Unpin for ConfiguredTarget
impl UnsafeUnpin for ConfiguredTarget
impl UnwindSafe for ConfiguredTarget
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.