pub struct ConditionContext {
pub access_time: Option<DateTime<Utc>>,
}Expand description
The IAM conditions context.
This type is not used in any activity, and only used as part of another schema.
Fields§
§access_time: Option<DateTime<Utc>>The hypothetical access timestamp to evaluate IAM conditions. Note that this value must not be earlier than the current time; otherwise, an INVALID_ARGUMENT error will be returned.
Trait Implementations§
Source§impl Clone for ConditionContext
impl Clone for ConditionContext
Source§fn clone(&self) -> ConditionContext
fn clone(&self) -> ConditionContext
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 ConditionContext
impl Debug for ConditionContext
Source§impl Default for ConditionContext
impl Default for ConditionContext
Source§fn default() -> ConditionContext
fn default() -> ConditionContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConditionContext
impl<'de> Deserialize<'de> for ConditionContext
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
Source§impl Serialize for ConditionContext
impl Serialize for ConditionContext
impl Part for ConditionContext
Auto Trait Implementations§
impl Freeze for ConditionContext
impl RefUnwindSafe for ConditionContext
impl Send for ConditionContext
impl Sync for ConditionContext
impl Unpin for ConditionContext
impl UnwindSafe for ConditionContext
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