pub struct CreateAuthTokenResponseWire {
pub auth_token: BTreeMap<String, String>,
}Expand description
CreateMicrovmAuthTokenResponse.
authToken is a TokenParts map, not a string (TRAP-7). Reading it as a string
is a deserialization failure rather than a wrong value, which is the good direction —
but the map’s X-aws-proxy-auth key is what the endpoint header takes, and a caller
who sends the map’s Debug rendering gets a rejection that reads like a bad token.
Fields§
§auth_token: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for CreateAuthTokenResponseWire
impl Clone for CreateAuthTokenResponseWire
Source§fn clone(&self) -> CreateAuthTokenResponseWire
fn clone(&self) -> CreateAuthTokenResponseWire
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateAuthTokenResponseWire
impl Debug for CreateAuthTokenResponseWire
Source§impl<'de> Deserialize<'de> for CreateAuthTokenResponseWire
impl<'de> Deserialize<'de> for CreateAuthTokenResponseWire
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateAuthTokenResponseWire, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateAuthTokenResponseWire, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateAuthTokenResponseWire
impl RefUnwindSafe for CreateAuthTokenResponseWire
impl Send for CreateAuthTokenResponseWire
impl Sync for CreateAuthTokenResponseWire
impl Unpin for CreateAuthTokenResponseWire
impl UnsafeUnpin for CreateAuthTokenResponseWire
impl UnwindSafe for CreateAuthTokenResponseWire
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.