pub struct EpgStringWithLang {
pub value: String,
pub lang: Option<String>,
}Expand description
A string value with an optional language attribute.
Fields§
§value: String§lang: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for EpgStringWithLang
impl Clone for EpgStringWithLang
Source§fn clone(&self) -> EpgStringWithLang
fn clone(&self) -> EpgStringWithLang
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 EpgStringWithLang
impl Debug for EpgStringWithLang
Source§impl Default for EpgStringWithLang
impl Default for EpgStringWithLang
Source§fn default() -> EpgStringWithLang
fn default() -> EpgStringWithLang
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EpgStringWithLang
impl<'de> Deserialize<'de> for EpgStringWithLang
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 EpgStringWithLang
impl RefUnwindSafe for EpgStringWithLang
impl Send for EpgStringWithLang
impl Sync for EpgStringWithLang
impl Unpin for EpgStringWithLang
impl UnsafeUnpin for EpgStringWithLang
impl UnwindSafe for EpgStringWithLang
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