ConsumerAlertDetails
struct ConsumerAlertDetails
extension ConsumerAlertDetails : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Sendable
A struct that represents the details of a consumer alert.
-
Returns true if the consumer alert details are equal.
Declaration
Swift
static func == (lhs: ConsumerAlertDetails, rhs: ConsumerAlertDetails) -> Bool
-
The title of the about link.
Declaration
Swift
var aboutLinkTitle: String? { get }
-
The URI of the about link.
Declaration
Swift
var aboutLinkURI: URL? { get }
-
The description of the consumer alert.
Declaration
Swift
var alertDescription: String? { get }
-
Returns the description of the consumer alert details.
Declaration
Swift
var description: String { get }
-
Hashes the consumer alert details.
Declaration
Swift
func hash(into hasher: inout Hasher)
-
The hash value.
Hash values are not guaranteed to be equal across different executions of your program. Do not save hash values to use during a future execution.
Important
hashValue
is deprecated as aHashable
requirement. To conform toHashable
, implement thehash(into:)
requirement instead. The compiler provides an implementation forhashValue
for you.Declaration
Swift
var hashValue: Int { get }
-
The title of the consumer alert.
Declaration
Swift
var title: String? { get }