pub struct Plan {
pub domain: String,
pub port: u16,
pub user: String,
pub state: PathBuf,
pub tls_dir: PathBuf,
pub cert: PathBuf,
pub key: PathBuf,
pub marker: PathBuf,
pub public_url: PathBuf,
pub hook: PathBuf,
}Expand description
Everything the certificate step will touch, built before anything is done so a refusal can name all of it.
Fields§
§domain: StringThe name the certificate is for.
port: u16The port the node serves on. Part of the public URL, not of the certificate.
user: StringThe unprivileged account the node runs as.
state: PathBufThat account’s ~/.choir.
tls_dir: PathBufWhere the readable copy of the pair is projected.
cert: PathBufThe projected certificate.
key: PathBufThe projected private key.
marker: PathBufThe two-line file choir node serve reads.
public_url: PathBufThe one-line file holding the URL people outside use.
hook: PathBufThe deploy hook certbot runs after every renewal.
Implementations§
Trait Implementations§
impl Eq for Plan
impl StructuralPartialEq for Plan
Auto Trait Implementations§
impl Freeze for Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more