Enum relay_dynamic_config::TagSource
source · pub enum TagSource<'a> {
Literal(&'a str),
Field(&'a str),
Unknown,
}
Expand description
Specifies how to obtain the value of a tag in TagSpec
.
Variants§
Literal(&'a str)
A literal value.
Field(&'a str)
Path to a field to evaluate.
Unknown
An unsupported or unknown source.
Trait Implementations§
impl<'a> StructuralPartialEq for TagSource<'a>
Auto Trait Implementations§
impl<'a> Freeze for TagSource<'a>
impl<'a> RefUnwindSafe for TagSource<'a>
impl<'a> Send for TagSource<'a>
impl<'a> Sync for TagSource<'a>
impl<'a> Unpin for TagSource<'a>
impl<'a> UnwindSafe for TagSource<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)