Struct html_sys::edits::DeletedText
source · #[non_exhaustive]pub struct DeletedText {
pub cite: Option<Cow<'static, str>>,
pub date_time: Option<Cow<'static, str>>,
/* private fields */
}
Expand description
The HTML <del>
element
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cite: Option<Cow<'static, str>>
Link to the source of the quotation or more information about the edit
date_time: Option<Cow<'static, str>>
Date and (optionally) time of the change
Trait Implementations§
source§impl Clone for DeletedText
impl Clone for DeletedText
source§fn clone(&self) -> DeletedText
fn clone(&self) -> DeletedText
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 DeletedText
impl Debug for DeletedText
source§impl Default for DeletedText
impl Default for DeletedText
source§fn default() -> DeletedText
fn default() -> DeletedText
Returns the “default value” for a type. Read more
source§impl Deref for DeletedText
impl Deref for DeletedText
source§impl DerefMut for DeletedText
impl DerefMut for DeletedText
source§impl Display for DeletedText
impl Display for DeletedText
source§impl PartialEq<DeletedText> for DeletedText
impl PartialEq<DeletedText> for DeletedText
source§fn eq(&self, other: &DeletedText) -> bool
fn eq(&self, other: &DeletedText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DeletedText> for DeletedText
impl PartialOrd<DeletedText> for DeletedText
source§fn partial_cmp(&self, other: &DeletedText) -> Option<Ordering>
fn partial_cmp(&self, other: &DeletedText) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more