pub struct Actor {
pub kind: ActorKind,
pub id: Option<String>,
}Expand description
Who acted, and their identity within that kind.
Fields§
§kind: ActorKind§id: Option<String>Implementations§
Source§impl Actor
impl Actor
Sourcepub fn acme_certificate_key() -> Self
pub fn acme_certificate_key() -> Self
An ACME client that proved possession of the certificate’s own key pair and named no account — RFC 8555 §7.6’s accountless revocation.
The None is the honest answer and not a gap: there is no identity to
record beyond “whoever holds this certificate’s private key”, which the
cert_serial on the same row already says.
Sourcepub fn cli() -> Self
pub fn cli() -> Self
The command line, identified by whichever of $USER/$LOGNAME is set.
Advisory only, and unavoidably so: anything running this binary can set those variables. It narrows “somebody on the host” to “somebody on the host, probably this account”, which is the most a process can say about its own invoker without help from the audit subsystem of the OS.
Trait Implementations§
impl Eq for Actor
impl StructuralPartialEq for Actor
Auto Trait Implementations§
impl Freeze for Actor
impl RefUnwindSafe for Actor
impl Send for Actor
impl Sync for Actor
impl Unpin for Actor
impl UnsafeUnpin for Actor
impl UnwindSafe for Actor
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
Mutably borrows from an owned value. Read more