Struct gopher_core::types::GopherRequest [] [src]

pub struct GopherRequest {
    pub selector: GopherStr,
    pub query: Option<GopherStr>,
}

A client-to-server message.

Fields

Identifier of the resource to fetch. May be an empty string.

Search string for a full-text search transaction.

Methods

impl GopherRequest
[src]

[src]

Read a Gopher request from a buffer containing a line without the trailing CRLF.

Trait Implementations

impl Clone for GopherRequest
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GopherRequest
[src]

[src]

Formats the value using the given formatter.