pub struct ProfileSummary {
pub name: String,
pub base_url: String,
pub challenge_bypass: bool,
pub eab_enabled: bool,
}Expand description
One ACME endpoint, as every surface describes it.
The two front ends reach this from opposite directions, and the difference
is real rather than an implementation detail. GET /api/profiles and
/ui/profiles build it from a mounted acme_proxy_protocol::profile::Profile, so
they describe what this process is actually serving; acme-proxy profile list builds it from the configuration, because the alternative is
server::profile::build_all, which constructs signer backends – generating a CA
key and contacting a relay upstream for a read-only listing. That is filter show’s split exactly: the panel serves the live thing, the terminal
rebuilds one, and between an edit and its SIGHUP the two legitimately
disagree.
Fields§
§name: String§base_url: String§challenge_bypass: bool§eab_enabled: boolImplementations§
Source§impl ProfileSummary
impl ProfileSummary
Sourcepub fn configured(base_url: &str, profile: &ProfileConfig) -> Self
pub fn configured(base_url: &str, profile: &ProfileConfig) -> Self
An endpoint this configuration would mount.
Config::resolve_profiles has already dropped anything enabled = false
on the caller’s behalf, so this needs no filter of its own – the list it
is mapped over is already the mounted set, minus the fact of being
mounted.
Sourcepub fn directory_url(&self) -> String
pub fn directory_url(&self) -> String
Where a client fetches this endpoint’s directory (RFC 8555 §7.1.1).
Auto Trait Implementations§
impl Freeze for ProfileSummary
impl RefUnwindSafe for ProfileSummary
impl Send for ProfileSummary
impl Sync for ProfileSummary
impl Unpin for ProfileSummary
impl UnsafeUnpin for ProfileSummary
impl UnwindSafe for ProfileSummary
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more