Struct rusoto_iam::ContextEntry
source · [−]pub struct ContextEntry {
pub context_key_name: Option<String>,
pub context_key_type: Option<String>,
pub context_key_values: Option<Vec<String>>,
}
Expand description
Contains information about a condition context key. It includes the name of the key and specifies the value (or values, if the context key supports multiple values) to use in the simulation. This information is used when evaluating the Condition
elements of the input policies.
This data type is used as an input parameter to SimulateCustomPolicy and SimulatePrincipalPolicy.
Fields
context_key_name: Option<String>
The full name of a condition context key, including the service prefix. For example, aws:SourceIp
or s3:VersionId
.
context_key_type: Option<String>
The data type of the value (or values) specified in the ContextKeyValues
parameter.
context_key_values: Option<Vec<String>>
The value (or values, if the condition context key supports multiple values) to provide to the simulation when the key is referenced by a Condition
element in an input policy.
Trait Implementations
sourceimpl Clone for ContextEntry
impl Clone for ContextEntry
sourcefn clone(&self) -> ContextEntry
fn clone(&self) -> ContextEntry
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ContextEntry
impl Debug for ContextEntry
sourceimpl Default for ContextEntry
impl Default for ContextEntry
sourcefn default() -> ContextEntry
fn default() -> ContextEntry
Returns the “default value” for a type. Read more
sourceimpl PartialEq<ContextEntry> for ContextEntry
impl PartialEq<ContextEntry> for ContextEntry
sourcefn eq(&self, other: &ContextEntry) -> bool
fn eq(&self, other: &ContextEntry) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ContextEntry) -> bool
fn ne(&self, other: &ContextEntry) -> bool
This method tests for !=
.
impl StructuralPartialEq for ContextEntry
Auto Trait Implementations
impl RefUnwindSafe for ContextEntry
impl Send for ContextEntry
impl Sync for ContextEntry
impl Unpin for ContextEntry
impl UnwindSafe for ContextEntry
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more