pub struct RunContext {
pub run_id: String,
pub upload_uri_prefix: String,
pub credentials: UploadCredentials,
}Expand description
State returned by start_run and referenced by all subsequent API calls.
Fields§
§run_id: String§upload_uri_prefix: String§credentials: UploadCredentialsImplementations§
Source§impl RunContext
impl RunContext
Sourcepub fn creds_expiring_soon(&self) -> bool
pub fn creds_expiring_soon(&self) -> bool
Returns true when the STS credentials expire within 5 minutes.
Satisfies T-STR-04.
Trait Implementations§
Source§impl Clone for RunContext
impl Clone for RunContext
Source§fn clone(&self) -> RunContext
fn clone(&self) -> RunContext
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 moreAuto Trait Implementations§
impl Freeze for RunContext
impl RefUnwindSafe for RunContext
impl Send for RunContext
impl Sync for RunContext
impl Unpin for RunContext
impl UnsafeUnpin for RunContext
impl UnwindSafe for RunContext
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