pub struct MintedKey {
pub access_key: Option<String>,
pub key: Option<String>,
pub limit: Option<Vec<String>>,
pub type: Option<String>,
}Fields§
§access_key: Option<String>AccessKey is the same value under its predecessor name, carried so callers written against the older field keep working. One value, two names.
key: Option<String>Key is the credential, returned ONCE — a secret key is unreadable afterwards.
limit: Option<Vec<String>>Limit is what the minted key may reach, echoed back so the caller can see the narrowing took. Absent means unrestricted.
type: Option<String>Type is the class of key that was minted.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MintedKey
impl<'de> Deserialize<'de> for MintedKey
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 StructuralPartialEq for MintedKey
Auto Trait Implementations§
impl Freeze for MintedKey
impl RefUnwindSafe for MintedKey
impl Send for MintedKey
impl Sync for MintedKey
impl Unpin for MintedKey
impl UnsafeUnpin for MintedKey
impl UnwindSafe for MintedKey
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