#[non_exhaustive]pub struct AwsTrustPolicyFailure {
pub message: Option<String>,
pub unknown: Unknown,
}Expand description
What a failed trust-policy check answers with.
The one place in the description where a failure has a shape of its own
rather than the shared Error: the check answers 422 with what is
wrong with the policy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.message: Option<String>§unknown: UnknownEverything the description did not mention, kept so that a control plane ahead of this build still answers usefully.
Implementations§
Trait Implementations§
Source§impl Clone for AwsTrustPolicyFailure
impl Clone for AwsTrustPolicyFailure
Source§impl Debug for AwsTrustPolicyFailure
impl Debug for AwsTrustPolicyFailure
Source§impl Default for AwsTrustPolicyFailure
impl Default for AwsTrustPolicyFailure
Source§impl<'de> Deserialize<'de> for AwsTrustPolicyFailure
impl<'de> Deserialize<'de> for AwsTrustPolicyFailure
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 PartialEq for AwsTrustPolicyFailure
impl PartialEq for AwsTrustPolicyFailure
Source§impl Serialize for AwsTrustPolicyFailure
impl Serialize for AwsTrustPolicyFailure
impl StructuralPartialEq for AwsTrustPolicyFailure
Auto Trait Implementations§
impl Freeze for AwsTrustPolicyFailure
impl RefUnwindSafe for AwsTrustPolicyFailure
impl Send for AwsTrustPolicyFailure
impl Sync for AwsTrustPolicyFailure
impl Unpin for AwsTrustPolicyFailure
impl UnsafeUnpin for AwsTrustPolicyFailure
impl UnwindSafe for AwsTrustPolicyFailure
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