themis/internal/label
Types
pub type LabelError {
InvalidLabelName
}
Constructors
-
InvalidLabelName
Functions
pub fn add_label(
labels labels: LabelSet,
new_label key: String,
new_label_value value: String,
) -> Result(LabelSet, LabelError)
pub fn delete_label(
labels labels: LabelSet,
label_to_remove key: String,
) -> Result(LabelSet, LabelError)
pub fn from_dict(
labels labels: Dict(String, String),
) -> Result(LabelSet, LabelError)
pub fn is_valid_label(label: String) -> Bool