pub struct SoldNames {
pub company: String,
pub apex: String,
pub host: String,
}Expand description
The names of one sold estate. host first: it is the console, the passkeys’
relying party, the name the certificate is for.
Fields§
§company: String§apex: String§host: String<company>.<apex>.
Implementations§
Source§impl SoldNames
impl SoldNames
Sourcepub fn of(company: &str, apex: &str) -> SoldNames
pub fn of(company: &str, apex: &str) -> SoldNames
The names of company sold by the shop at apex (gunnar.rs,
test2.gunnar.rs). Pure; neither is checked here (the shop’s name rule
and the kit’s are).
Sourcepub fn names(&self) -> Vec<String>
pub fn names(&self) -> Vec<String>
Every name the estate serves under the shop’s apex, the kit’s
subzone shape: <host>, www.<host>, git.<host> — each one an A
record to its front. No monetize.<host> (G16, ONE monetize): a sold
estate runs no monetize; its boxes pull from the ONE.
Sourcepub fn word_in(&self, zone: &str) -> Option<String>
pub fn word_in(&self, zone: &str) -> Option<String>
The word the kit puts between a name’s first label and its DNS zone
(zone = gunnar.rs): acme at gunnar.rs, acme.test2 at
test2.gunnar.rs — so git.gunnar.rs becomes git.acme.test2.gunnar.rs.
None when the host is not inside zone (the kit cannot write it).