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