pub struct AttributeBuilder {
pub attribute: Attribute,
}
Fields§
§attribute: Attribute
Implementations§
Source§impl AttributeBuilder
impl AttributeBuilder
pub fn new(name: String, attribute_type: AttributeType) -> AttributeBuilder
pub fn set_flagged(self) -> AttributeBuilder
pub fn add_condition( self, condition: String, dependencies: Vec<String>, ) -> AttributeBuilder
pub fn add_cardinality(self, cardinality: String) -> AttributeBuilder
pub fn add_conformance(self, conformance: String) -> AttributeBuilder
pub fn add_encoding(self, encoding: Encoding) -> AttributeBuilder
pub fn add_mapping(self, mapping: String) -> AttributeBuilder
pub fn add_sai(self, sai: String) -> AttributeBuilder
pub fn add_format(self, format: String) -> AttributeBuilder
pub fn add_unit(self, metric_system: String, unit: String) -> AttributeBuilder
pub fn add_label(self, labels: HashMap<Language, String>) -> AttributeBuilder
pub fn add_entry_codes(self, entry_codes: EntryCodes) -> AttributeBuilder
pub fn add_entry_codes_mapping(self, mapping: Vec<String>) -> AttributeBuilder
pub fn add_entries(self, entries: Entries) -> AttributeBuilder
pub fn add_information( self, information: HashMap<Language, String>, ) -> AttributeBuilder
pub fn build(self) -> Attribute
Auto Trait Implementations§
impl Freeze for AttributeBuilder
impl RefUnwindSafe for AttributeBuilder
impl Send for AttributeBuilder
impl Sync for AttributeBuilder
impl Unpin for AttributeBuilder
impl UnwindSafe for AttributeBuilder
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