pub struct DisplayText {
pub value: Option<String>,
pub localized_value: Option<String>,
}
Expand description
Display text of link.
Fields§
§value: Option<String>
Display text of link.
localized_value: Option<String>
Localized display text of link.
Implementations§
source§impl DisplayText
impl DisplayText
Trait Implementations§
source§impl Clone for DisplayText
impl Clone for DisplayText
source§fn clone(&self) -> DisplayText
fn clone(&self) -> DisplayText
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 DisplayText
impl Debug for DisplayText
source§impl Default for DisplayText
impl Default for DisplayText
source§fn default() -> DisplayText
fn default() -> DisplayText
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for DisplayText
impl<'de> Deserialize<'de> for DisplayText
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 DisplayText
impl PartialEq for DisplayText
source§fn eq(&self, other: &DisplayText) -> bool
fn eq(&self, other: &DisplayText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DisplayText
impl Serialize for DisplayText
impl StructuralPartialEq for DisplayText
Auto Trait Implementations§
impl Freeze for DisplayText
impl RefUnwindSafe for DisplayText
impl Send for DisplayText
impl Sync for DisplayText
impl Unpin for DisplayText
impl UnwindSafe for DisplayText
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