pub struct HeaderPair {
pub name: String,
pub value: String,
}Expand description
One header every request to this endpoint carries.
The value may be a secret:realm/name reference, which the vault
redeems at the moment the header is written; anything else is sent
as it stands. Plaintext credentials never reach this type — the
enrolment door is the only way a secret enters the city.
Fields§
§name: String§value: StringTrait Implementations§
Source§impl Clone for HeaderPair
impl Clone for HeaderPair
Source§impl Debug for HeaderPair
impl Debug for HeaderPair
Source§impl<'de> Deserialize<'de> for HeaderPair
impl<'de> Deserialize<'de> for HeaderPair
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HeaderPair
Source§impl PartialEq for HeaderPair
impl PartialEq for HeaderPair
Source§impl Serialize for HeaderPair
impl Serialize for HeaderPair
impl StructuralPartialEq for HeaderPair
Auto Trait Implementations§
impl Freeze for HeaderPair
impl RefUnwindSafe for HeaderPair
impl Send for HeaderPair
impl Sync for HeaderPair
impl Unpin for HeaderPair
impl UnsafeUnpin for HeaderPair
impl UnwindSafe for HeaderPair
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