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