Enum aws_sdk_accessanalyzer::model::PathElement [−][src]
#[non_exhaustive]
pub enum PathElement {
Index(i32),
Key(String),
Substring(Substring),
Value(String),
Unknown,
}Expand description
A single element in a path through the JSON representation of a policy.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Index(i32)
Tuple Fields
0: i32Refers to an index in a JSON array.
Key(String)
Tuple Fields
0: StringRefers to a key in a JSON object.
Substring(Substring)
Tuple Fields
0: SubstringRefers to a substring of a literal string in a JSON object.
Value(String)
Tuple Fields
0: StringRefers to the value associated with a given key in a JSON object.
Unknown
The Unknown variant represents cases where new union variant was received. Consider upgrading the SDK to the latest available version.
An unknown enum variant
Note: If you encounter this error, consider upgrading your SDK to the latest version.
The Unknown variant represents cases where the server sent a value that wasn’t recognized
by the client. This can happen when the server adds new functionality, but the client has not been updated.
To investigate this, consider turning on debug logging to print the raw HTTP response.
Implementations
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PathElement
impl Send for PathElement
impl Sync for PathElement
impl Unpin for PathElement
impl UnwindSafe for PathElement
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
