pub struct LanguageFull {
pub self_link: Option<Url>,
pub web_link: Option<Url>,
pub resource_type_link: Option<Url>,
pub http_etag: Option<String>,
pub code: String,
pub english_name: String,
pub plural_expression: String,
pub plural_forms: String,
pub text_direction: TextDirection,
pub translators_count: usize,
pub visible: bool,
}Expand description
Representation of the language-full resource
Fields§
§self_link: Option<Url>The canonical link to this resource.
web_link: Option<Url>The canonical human-addressable web link to this resource.
resource_type_link: Option<Url>The link to the WADL description of this resource.
http_etag: Option<String>The value of the HTTP ETag for this resource.
code: StringThe ISO 639 code
english_name: StringThe English name
plural_expression: StringPlural form expression
The expression that relates a number of items to the appropriate plural form.
plural_forms: StringNumber of plural forms
The number of plural forms this language has.
text_direction: TextDirectionText direction
The direction of text in this language.
translators_count: usizeTotal number of translators for this language.
visible: boolVisible
Whether this language is visible by default.
Implementations§
Trait Implementations§
Source§impl Clone for LanguageFull
impl Clone for LanguageFull
Source§fn clone(&self) -> LanguageFull
fn clone(&self) -> LanguageFull
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 LanguageFull
impl Debug for LanguageFull
Source§impl<'de> Deserialize<'de> for LanguageFull
impl<'de> Deserialize<'de> for LanguageFull
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
Source§impl PartialEq for LanguageFull
impl PartialEq for LanguageFull
Source§impl Serialize for LanguageFull
impl Serialize for LanguageFull
impl StructuralPartialEq for LanguageFull
Auto Trait Implementations§
impl Freeze for LanguageFull
impl RefUnwindSafe for LanguageFull
impl Send for LanguageFull
impl Sync for LanguageFull
impl Unpin for LanguageFull
impl UnwindSafe for LanguageFull
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