Struct tor_netdoc::doc::hsdesc::HsDescOuter
source · pub struct HsDescOuter { /* private fields */ }
Available on crate features
hs-common
and hsdesc-inner-docs
only.Expand description
A more-or-less verbatim representation of the outermost plaintext document of an onion service descriptor.
Implementations§
source§impl HsDescOuter
impl HsDescOuter
sourcepub fn parse(s: &str) -> Result<SignatureGated<TimerangeBound<HsDescOuter>>>
pub fn parse(s: &str) -> Result<SignatureGated<TimerangeBound<HsDescOuter>>>
Try to parse an outer document of an onion service descriptor from a string.
Trait Implementations§
source§impl Clone for HsDescOuter
impl Clone for HsDescOuter
source§fn clone(&self) -> HsDescOuter
fn clone(&self) -> HsDescOuter
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more