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