pub struct TemporaryCredentials {
pub tmp_secret_id: String,
pub tmp_secret_key: String,
pub token: String,
pub expired_time: Option<u64>,
}
Expand description
临时密钥响应
Fields§
§tmp_secret_id: String
临时访问密钥 ID
tmp_secret_key: String
临时访问密钥
token: String
安全令牌
expired_time: Option<u64>
过期时间戳(可选,因为新版API可能不返回此字段)
Trait Implementations§
Source§impl Clone for TemporaryCredentials
impl Clone for TemporaryCredentials
Source§fn clone(&self) -> TemporaryCredentials
fn clone(&self) -> TemporaryCredentials
Returns a duplicate of the value. Read more
1.0.0 · 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 TemporaryCredentials
impl Debug for TemporaryCredentials
Source§impl<'de> Deserialize<'de> for TemporaryCredentials
impl<'de> Deserialize<'de> for TemporaryCredentials
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 TemporaryCredentials
impl RefUnwindSafe for TemporaryCredentials
impl Send for TemporaryCredentials
impl Sync for TemporaryCredentials
impl Unpin for TemporaryCredentials
impl UnwindSafe for TemporaryCredentials
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