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