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