pub fn is_no_such_traffic_policy(&self) -> bool {
        matches!(
            &self.kind,
            ListTrafficPolicyVersionsErrorKind::NoSuchTrafficPolicy(_)
        )
    }
/// Returns `true` if the error kind is `ListTrafficPolicyVersionsErrorKind::NoSuchTrafficPolicy`.
Returns `true` if the error kind is `ListTrafficPolicyVersionsErrorKind::NoSuchTrafficPolicy`.
Returns ` true ` if the error kind is ` ListTrafficPolicyVersionsErrorKind :: NoSuchTrafficPolicy ` .
pub fn is_no_such_traffic_policy(&self) -> bool {
        matches!(
            &self.kind,
            ListTrafficPolicyVersionsErrorKind::NoSuchTrafficPolicy(_)
        )
    }
pub fn is_no_such_traffic_policy ( & self ) -> bool { matches ! ( self kind ListTrafficPolicyVersionsErrorKind NoSuchTrafficPolicy ( ) ) }
Returns `true` if the error kind is `ListTrafficPolicyVersionsErrorKind::NoSuchTrafficPolicy`.
Returns ` true ` if the error kind is ` ListTrafficPolicyVersionsErrorKind :: NoSuchTrafficPolicy ` .
&self
&self