Struct rss::TextInput [] [src]

pub struct TextInput { /* fields omitted */ }

Represents a text input for an RSS channel.

Methods

impl TextInput
[src]

[src]

Return the title for this text field.

Examples

use rss::TextInput;

let mut text_input = TextInput::default();
text_input.set_title("Input Title");
assert_eq!(text_input.title(), "Input Title");

[src]

Set the title for this text field.

Examples

use rss::TextInput;

let mut text_input = TextInput::default();
text_input.set_title("Input Title");

[src]

Return the description of this text field.

Examples

use rss::TextInput;

let mut text_input = TextInput::default();
text_input.set_description("Input description");
assert_eq!(text_input.description(), "Input description");

[src]

Set the description of this text field.

Examples

use rss::TextInput;

let mut text_input = TextInput::default();
text_input.set_description("Input description");

[src]

Return the name of the text object in this input.

Examples

use rss::TextInput;

let mut text_input = TextInput::default();
text_input.set_name("Input name");
assert_eq!(text_input.name(), "Input name");

[src]

Set the name of the text object in this input.

Examples

use rss::TextInput;

let mut text_input = TextInput::default();
text_input.set_name("Input name");;

Return the URL of the GCI script that processes the text input request.

Examples

use rss::TextInput;

let mut text_input = TextInput::default();
text_input.set_link("http://example.com/submit");
assert_eq!(text_input.link(), "http://example.com/submit");

Set the URL of the GCI script that processes the text input request.

Examples

use rss::TextInput;

let mut text_input = TextInput::default();
text_input.set_link("http://example.com/submit");

Trait Implementations

impl Debug for TextInput
[src]

[src]

Formats the value using the given formatter.

impl Default for TextInput
[src]

[src]

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

impl Clone for TextInput
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TextInput
[src]

[src]

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

[src]

This method tests for !=.