Struct figment::value::Tag [−][src]
pub struct Tag(_);
Expand description
An opaque, unique tag identifying a value’s Metadata
and profile.
A Tag
is retrieved either via Tagged
or Value::tag()
. The
corresponding metadata can be retrieved via Figment::get_metadata()
and
the profile vile Tag::profile()
.
Implementations
The default Tag
. Such a tag will never have associated metadata and
is associated with a profile of Default
.
Returns true
if self
is Tag::Default
.
Example
use figment::value::Tag; assert!(Tag::Default.is_default());
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Tag
impl UnwindSafe for Tag
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V