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§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<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
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