Struct confluence::rpser::Method
[−]
[src]
pub struct Method { pub name: String, pub args: Vec<Element>, }
XML method representation.
Fields
name | |
args |
Methods
impl Method
fn new(name: &str) -> Method
[−]
Create new method with name.
fn with(self, arg: Element) -> Self
[−]
Add argument to method.
The arg
is XML Element.
fn as_xml(&self, api_url: &str) -> String
[−]
Convert method to full XML envelope.