pub enum JsonRuleContent {
More {
content: JsonData,
next_content_url: JsonData,
start: usize,
end: JsonData,
},
One {
content: JsonData,
},
}Variants§
Implementations§
Source§impl JsonRuleContent
impl JsonRuleContent
pub async fn parse_content( &self, data: &Value, variables: &mut Variables, client: &HttpClient, ) -> Result<String>
Trait Implementations§
Source§impl Clone for JsonRuleContent
impl Clone for JsonRuleContent
Source§fn clone(&self) -> JsonRuleContent
fn clone(&self) -> JsonRuleContent
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 JsonRuleContent
impl Debug for JsonRuleContent
Source§impl TryFrom<&RuleContent> for JsonRuleContent
impl TryFrom<&RuleContent> for JsonRuleContent
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Source§impl TryFrom<RuleContent> for JsonRuleContent
impl TryFrom<RuleContent> for JsonRuleContent
Source§type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for JsonRuleContent
impl RefUnwindSafe for JsonRuleContent
impl Send for JsonRuleContent
impl Sync for JsonRuleContent
impl Unpin for JsonRuleContent
impl UnwindSafe for JsonRuleContent
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