Struct html_sys::edits::InsertedText
source · #[non_exhaustive]pub struct InsertedText {
pub data_map: DataMap,
pub cite: Option<Cow<'static, str>>,
pub date_time: Option<Cow<'static, str>>,
/* private fields */
}
Expand description
The HTML <ins>
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 InsertedText
impl Clone for InsertedText
source§fn clone(&self) -> InsertedText
fn clone(&self) -> InsertedText
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 InsertedText
impl Debug for InsertedText
source§impl Default for InsertedText
impl Default for InsertedText
source§fn default() -> InsertedText
fn default() -> InsertedText
Returns the “default value” for a type. Read more
source§impl Deref for InsertedText
impl Deref for InsertedText
source§impl DerefMut for InsertedText
impl DerefMut for InsertedText
source§impl Display for InsertedText
impl Display for InsertedText
source§impl PartialEq<InsertedText> for InsertedText
impl PartialEq<InsertedText> for InsertedText
source§fn eq(&self, other: &InsertedText) -> bool
fn eq(&self, other: &InsertedText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RenderElement for InsertedText
impl RenderElement for InsertedText
impl StructuralPartialEq for InsertedText
Auto Trait Implementations§
impl RefUnwindSafe for InsertedText
impl Send for InsertedText
impl Sync for InsertedText
impl Unpin for InsertedText
impl UnwindSafe for InsertedText
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