Struct gopher_core::types::DirEntity
[−]
[src]
pub struct DirEntity { pub item_type: ItemType, pub name: GopherStr, pub selector: GopherStr, pub host: GopherStr, pub port: u16, }
An menu item in a directory of Gopher resources.
Fields
item_type: ItemType
The type of the resource
name: GopherStr
String to display to the user.
selector: GopherStr
Path or identifier used for requesting this resource.
host: GopherStr
The hostname of the server hosting this resource.
port: u16
The TCP port of the server hosting this resource.
Methods
impl DirEntity
[src]
Trait Implementations
impl Clone for DirEntity
[src]
fn clone(&self) -> DirEntity
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more