pub struct StaticConfig {
pub targets: Vec<String>,
pub labels: HashMap<String, String>,
}Fields§
§targets: Vec<String>§labels: HashMap<String, String>Trait Implementations§
Source§impl Clone for StaticConfig
impl Clone for StaticConfig
Source§fn clone(&self) -> StaticConfig
fn clone(&self) -> StaticConfig
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 StaticConfig
impl Debug for StaticConfig
Source§impl<'de> Deserialize<'de> for StaticConfig
impl<'de> Deserialize<'de> for StaticConfig
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 StaticConfig
impl RefUnwindSafe for StaticConfig
impl Send for StaticConfig
impl Sync for StaticConfig
impl Unpin for StaticConfig
impl UnsafeUnpin for StaticConfig
impl UnwindSafe for StaticConfig
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