<!--
{
  "availability" : [
    "iOS: 17.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "JournalingSuggestions",
  "identifier" : "/documentation/JournalingSuggestions/JournalingSuggestion/Workout",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Journaling Suggestions"
    ],
    "preciseIdentifier" : "s:21JournalingSuggestions0A10SuggestionV7WorkoutV"
  },
  "title" : "JournalingSuggestion.Workout"
}
-->

# JournalingSuggestion.Workout

A suggestion that describes a workout that a person completed.

```
struct Workout
```

## Overview

The system provides an instance of this structure to your app when a person chooses a workout
suggestion in the [`JournalingSuggestionsPicker`](/documentation/JournalingSuggestions/JournalingSuggestionsPicker).

## Topics

### Accessing workout summary information

[`var icon: URL?`](/documentation/JournalingSuggestions/JournalingSuggestion/Workout/icon)

The URL to an image on disc that represents the type of workout.

[`var route: [CLLocation]?`](/documentation/JournalingSuggestions/JournalingSuggestion/Workout/route)

The geographic path that a person travels over the course of the workout.

### Inspecting workout details

[`var details: JournalingSuggestion.Workout.Details?`](/documentation/JournalingSuggestions/JournalingSuggestion/Workout/details-swift.property)

A structure that contains the workout specifics.

[`struct Details`](/documentation/JournalingSuggestions/JournalingSuggestion/Workout/Details-swift.struct)

Information about a workout that a person completes.

## Relationships

### Conforms To

[`JournalingSuggestionAsset`](/documentation/JournalingSuggestions/JournalingSuggestionAsset)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)