pub enum RuleContent {
More {
content: String,
next_content_url: String,
start: usize,
end: String,
},
One {
content: String,
},
}
Variants§
Trait Implementations§
Source§impl Clone for RuleContent
impl Clone for RuleContent
Source§fn clone(&self) -> RuleContent
fn clone(&self) -> RuleContent
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 RuleContent
impl Debug for RuleContent
Source§impl<'de> Deserialize<'de> for RuleContent
impl<'de> Deserialize<'de> for RuleContent
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
Auto Trait Implementations§
impl Freeze for RuleContent
impl RefUnwindSafe for RuleContent
impl Send for RuleContent
impl Sync for RuleContent
impl Unpin for RuleContent
impl UnwindSafe for RuleContent
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