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.

Trait Implementations

impl Display for Method

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Debug for Method

fn fmt(&self, __arg_0: &mut Formatter) -> Result