---
title: DataDetector.Match.SemanticDetails.MoneyAmount
framework: datadetection
role: symbol
role_heading: Structure
path: datadetection/datadetector/match/semanticdetails/moneyamount
---

# DataDetector.Match.SemanticDetails.MoneyAmount

A match that the data detector determines represents an amount of money.

## Declaration

```swift
struct MoneyAmount
```

## Discussion

Discussion The framework returns currency as the match’s currency, though it may be a best guess. The amount is the amount of money in the specified currency.

## Topics

### Properties that describe elements of the amount

- [amount](datadetection/datadetector/match/semanticdetails/moneyamount/amount.md)
- [currency](datadetection/datadetector/match/semanticdetails/moneyamount/currency.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
