Struct gtld_data::Gtld
[−]
[src]
pub struct Gtld<'a> {
pub domain: &'a str,
pub kind: GtldKind,
pub organization: &'a str,
}Representation of each Gtld with its three key pieces of data:
- domain:
strof the domain name for thisGtld, such ascomorpw. - kind:
GtldKindenum value of the type ofGtldthat this is. For technical purposes, this is renamed fromtypetokind. - organization:
strof the name of the organization that represents thisGtld.
Derives Clone and Debug.
Fields
domain: &'a str
kind: GtldKind
organization: &'a str
Trait Implementations
impl<'a> Debug for Gtld<'a>[src]
impl<'a> Clone for Gtld<'a>[src]
fn clone(&self) -> Gtld<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more