Struct rss::Cloud [] [src]

pub struct Cloud { /* fields omitted */ }

Represents a cloud in an RSS feed.

Methods

impl Cloud
[src]

[src]

Return the domain for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_domain("http://example.com");
assert_eq!(cloud.domain(), "http://example.com");

[src]

Set the domain for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_domain("http://example.com");

[src]

Return the port for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_port("80");
assert_eq!(cloud.port(), "80");

[src]

Set the port for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_port("80");

[src]

Return the path for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_port("/rpc");
assert_eq!(cloud.port(), "/rpc");

[src]

Set the path for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_path("/rpc");

[src]

Return the register procedure for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_register_procedure("pingMe");
assert_eq!(cloud.register_procedure(), "pingMe");

[src]

Set the register procedure for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_register_procedure("pingMe");

[src]

Return the protocol for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_protocol("xml-rpc");
assert_eq!(cloud.protocol(), "xml-rpc");

[src]

Set the protocol for this cloud.

Examples

use rss::Cloud;

let mut cloud = Cloud::default();
cloud.set_protocol("xml-rpc");

Trait Implementations

impl Debug for Cloud
[src]

[src]

Formats the value using the given formatter.

impl Default for Cloud
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for Cloud
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Cloud
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.