Struct html_sys::edits::DeletedText
source · #[non_exhaustive]pub struct DeletedText {
pub data_map: DataMap,
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.data_map: DataMap
§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 RenderElement for DeletedText
impl RenderElement for DeletedText
impl StructuralPartialEq for DeletedText
Auto Trait Implementations§
impl RefUnwindSafe for DeletedText
impl Send for DeletedText
impl Sync for DeletedText
impl Unpin for DeletedText
impl UnwindSafe for DeletedText
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