pub struct AttributeTranslation {
pub label: Option<String>,
pub entries: Option<EntriesElement>,
pub information: Option<String>,
}
Fields§
§label: Option<String>
§entries: Option<EntriesElement>
§information: Option<String>
Implementations§
Source§impl AttributeTranslation
impl AttributeTranslation
pub fn new() -> AttributeTranslation
pub fn add_label(&mut self, label: String) -> &mut AttributeTranslation
pub fn add_entries_sai(&mut self, sai: String) -> &mut AttributeTranslation
pub fn add_entry(&mut self, id: String, tr: String) -> &mut AttributeTranslation
pub fn add_information( &mut self, information: String, ) -> &mut AttributeTranslation
Trait Implementations§
Source§impl Clone for AttributeTranslation
impl Clone for AttributeTranslation
Source§fn clone(&self) -> AttributeTranslation
fn clone(&self) -> AttributeTranslation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AttributeTranslation
impl Debug for AttributeTranslation
Source§impl Default for AttributeTranslation
impl Default for AttributeTranslation
Source§impl<'de> Deserialize<'de> for AttributeTranslation
impl<'de> Deserialize<'de> for AttributeTranslation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AttributeTranslation
impl RefUnwindSafe for AttributeTranslation
impl Send for AttributeTranslation
impl Sync for AttributeTranslation
impl Unpin for AttributeTranslation
impl UnwindSafe for AttributeTranslation
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