Struct kgdata::models::multilingual::MultiLingualString
source · pub struct MultiLingualString {
pub lang: String,
pub lang2value: HashMap<String, String>,
}
Fields§
§lang: String
§lang2value: HashMap<String, String>
Implementations§
source§impl MultiLingualString
impl MultiLingualString
pub fn get_default_value(&self) -> &String
Trait Implementations§
source§impl Clone for MultiLingualString
impl Clone for MultiLingualString
source§fn clone(&self) -> MultiLingualString
fn clone(&self) -> MultiLingualString
Returns a copy 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 MultiLingualString
impl Debug for MultiLingualString
source§impl<'de> Deserialize<'de> for MultiLingualString
impl<'de> Deserialize<'de> for MultiLingualString
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 MultiLingualString
impl RefUnwindSafe for MultiLingualString
impl Send for MultiLingualString
impl Sync for MultiLingualString
impl Unpin for MultiLingualString
impl UnwindSafe for MultiLingualString
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