pub struct V1TextNode {
pub content: Option<String>,
}
Fields§
§content: Option<String>
Implementations§
Source§impl V1TextNode
impl V1TextNode
pub fn new() -> V1TextNode
Trait Implementations§
Source§impl Clone for V1TextNode
impl Clone for V1TextNode
Source§fn clone(&self) -> V1TextNode
fn clone(&self) -> V1TextNode
Returns a duplicate 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 V1TextNode
impl Debug for V1TextNode
Source§impl Default for V1TextNode
impl Default for V1TextNode
Source§fn default() -> V1TextNode
fn default() -> V1TextNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for V1TextNode
impl<'de> Deserialize<'de> for V1TextNode
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 V1TextNode
impl PartialEq for V1TextNode
Source§impl Serialize for V1TextNode
impl Serialize for V1TextNode
impl StructuralPartialEq for V1TextNode
Auto Trait Implementations§
impl Freeze for V1TextNode
impl RefUnwindSafe for V1TextNode
impl Send for V1TextNode
impl Sync for V1TextNode
impl Unpin for V1TextNode
impl UnwindSafe for V1TextNode
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