RouteTag
public struct RouteTag : Hashable
Uniquely identifies a route.
Route tags are generated locally using UUIDs. Use RouteTag.generate(...) to create
a new unique route tag.
-
The raw tag string. Empty when default-constructed.
Declaration
Swift
public var value: String -
Creates a new instance.
Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.
Declaration
Swift
public init(value: String = "") -
Generates a new unique route tag using a random UUID.
Declaration
Swift
public static func generate() -> RouteTagReturn Value
A new unique route tag using a random UUID.