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