pub struct Doctype {
pub syntax: String,
}
Expand description
A doctype.
<!DOCTYPE html>
Fields§
§syntax: String
The value of the doctype.
<!DOCTYPE syntax>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Doctype
impl<'de> Deserialize<'de> for Doctype
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Doctype, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Doctype, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Doctype
impl PartialEq for Doctype
source§impl Serialize for Doctype
impl Serialize for Doctype
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for Doctype
impl StructuralEq for Doctype
impl StructuralPartialEq for Doctype
Auto Trait Implementations§
impl RefUnwindSafe for Doctype
impl Send for Doctype
impl Sync for Doctype
impl Unpin for Doctype
impl UnwindSafe for Doctype
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