struct RawCredentials {
access_key: String,
secret_key: String,
session_token: String,
expiration: Option<String>,
}Expand description
Field names match the live Sentinel API response (Python reference:
sentinel_api.py register_run docstring).
expiration is the documented Python name; expires_at is accepted as an
alias in case the live API uses a different casing. The field is optional
so a missing value does not abort the run – it falls back to a far-future
timestamp (credentials treated as always-fresh).
Fields§
§access_key: String§secret_key: String§session_token: String§expiration: Option<String>Trait Implementations§
Source§impl Debug for RawCredentials
impl Debug for RawCredentials
Source§impl<'de> Deserialize<'de> for RawCredentials
impl<'de> Deserialize<'de> for RawCredentials
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 RawCredentials
impl RefUnwindSafe for RawCredentials
impl Send for RawCredentials
impl Sync for RawCredentials
impl Unpin for RawCredentials
impl UnsafeUnpin for RawCredentials
impl UnwindSafe for RawCredentials
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