Struct nu_protocol::value::dict::TaggedDictBuilder
source · [−]pub struct TaggedDictBuilder { /* private fields */ }
Expand description
A helper to help create dictionaries for you. It has the ability to insert values into the dictionary while maintaining the tags that need to be applied to the individual members
Implementations
Create a new builder
Build the contents of the builder into a Value
Create a new builder with a pre-defined capacity
Insert an untagged key/value pair into the dictionary, to later be tagged when built
Insert a key/value pair into the dictionary
Convert the dictionary into a tagged Value using the original tag
Convert the dictionary into an UntaggedValue
Checks if given key exists
Trait Implementations
Convert a builder into a tagged Value
Auto Trait Implementations
impl RefUnwindSafe for TaggedDictBuilder
impl Send for TaggedDictBuilder
impl Sync for TaggedDictBuilder
impl Unpin for TaggedDictBuilder
impl UnwindSafe for TaggedDictBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more