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