pub struct HandOut<'a> {
pub value: Zeroizing<String>,
pub host: &'a str,
pub username: Option<&'a str>,
pub decision: Decision,
}Expand description
What a helper may be handed: the value, the secret’s own host (for the audit row) and the user name git sends with it.
Fields§
§value: Zeroizing<String>The value to hand out.
host: &'a strThe secret’s host.
username: Option<&'a str>The user name the helper gives with the value; None for AWS.
decision: DecisionThe allow decision to record.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for HandOut<'a>
impl<'a> Freeze for HandOut<'a>
impl<'a> Move for HandOut<'a>
impl<'a> RefUnwindSafe for HandOut<'a>
impl<'a> Send for HandOut<'a>
impl<'a> Sync for HandOut<'a>
impl<'a> Unpin for HandOut<'a>
impl<'a> UnsafeUnpin for HandOut<'a>
impl<'a> UnwindSafe for HandOut<'a>
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