pub struct SshRequest {
pub instance: String,
pub keys_of: Option<String>,
pub forwarded_keys: Option<Vec<String>>,
}Expand description
What the client asked for.
Fields§
§instance: StringThe instance in the org.
keys_of: Option<String>Whose keys to let in, for a caller with no isb account of its own (the unix socket, a superadmin token): an account’s email. Anyone else may only name themselves.
forwarded_keys: Option<Vec<String>>The public keys to let in, as a control plane forwarding the
session sends them in KEYS_HEADER. Only a server’s agent reads
this (its listener admits nothing but the control plane); every other
listener takes the keys from the caller’s own account.
Implementations§
Trait Implementations§
Source§impl Clone for SshRequest
impl Clone for SshRequest
Source§impl Debug for SshRequest
impl Debug for SshRequest
impl Eq for SshRequest
Source§impl PartialEq for SshRequest
impl PartialEq for SshRequest
impl StructuralPartialEq for SshRequest
Auto Trait Implementations§
impl Freeze for SshRequest
impl RefUnwindSafe for SshRequest
impl Send for SshRequest
impl Sync for SshRequest
impl Unpin for SshRequest
impl UnsafeUnpin for SshRequest
impl UnwindSafe for SshRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.