pub struct CredentialDto {
pub inbound: Option<InboundCredential>,
pub delegated: Option<DelegatedCredential>,
}Expand description
The credential object attached to a task.
Exactly one sub-object is populated, chosen by hook. Debug is
hand-written so neither ends up in a log line or panic message.
Fields§
§inbound: Option<InboundCredential>§delegated: Option<DelegatedCredential>Trait Implementations§
Source§impl Clone for CredentialDto
impl Clone for CredentialDto
Source§impl Debug for CredentialDto
impl Debug for CredentialDto
Source§impl Default for CredentialDto
impl Default for CredentialDto
Auto Trait Implementations§
impl Freeze for CredentialDto
impl RefUnwindSafe for CredentialDto
impl Send for CredentialDto
impl Sync for CredentialDto
impl Unpin for CredentialDto
impl UnsafeUnpin for CredentialDto
impl UnwindSafe for CredentialDto
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