Struct relay_dynamic_config::Tag
source · pub struct Tag { /* private fields */ }
Expand description
Builder for TagSpec
.
Implementations§
source§impl Tag
impl Tag
sourcepub fn from_field(self, field_name: impl Into<String>) -> TagWithSource
pub fn from_field(self, field_name: impl Into<String>) -> TagWithSource
Defines the field from which the tag value gets its data.
sourcepub fn with_value(self, value: impl Into<String>) -> TagWithSource
pub fn with_value(self, value: impl Into<String>) -> TagWithSource
Defines what value to set for a tag.
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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