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
sourceimpl 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
sourceimpl Clone for AttributeTranslation
impl Clone for AttributeTranslation
sourcefn clone(&self) -> AttributeTranslation
fn clone(&self) -> AttributeTranslation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AttributeTranslation
impl Debug for AttributeTranslation
sourceimpl Default for AttributeTranslation
impl Default for AttributeTranslation
sourceimpl<'de> Deserialize<'de> for AttributeTranslation
impl<'de> Deserialize<'de> for AttributeTranslation
sourcefn 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
sourceimpl Serialize for AttributeTranslation
impl Serialize for AttributeTranslation
Auto Trait Implementations
impl RefUnwindSafe for AttributeTranslation
impl Send for AttributeTranslation
impl Sync for AttributeTranslation
impl Unpin for AttributeTranslation
impl UnwindSafe for AttributeTranslation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Serialize for T where
T: Serialize + ?Sized,
impl<T> Serialize for T where
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more