SearchUrlParam
public struct SearchUrlParam
extension SearchUrlParam: Equatable, Hashable
Parameter definitions for search engine URLs. The name property is always specified, along with one of value, experiment_config or search_access_point.
-
The name of the parameter in the url.
Declaration
Swift
public var name: String
-
The parameter value, this may be a static value, or additionally contain a parameter replacement, e.g.
{inputEncoding}
. For the partner code parameter, this field should be{partnerCode}
.Declaration
Swift
public var value: String?
-
Same as value but only used if Services.polices.isEnterprise is true. Overrides other parameters of the same name.
Declaration
Swift
public var enterpriseValue: String?
-
The value for the parameter will be derived from the equivalent experiment configuration value. Only desktop uses this currently.
Declaration
Swift
public var experimentConfig: String?
-
Declaration
Swift
public init( /** * The name of the parameter in the url. */name: String, /** * The parameter value, this may be a static value, or additionally contain * a parameter replacement, e.g. `{inputEncoding}`. For the partner code * parameter, this field should be `{partnerCode}`. */value: String?, /** * Same as value but only used if Services.polices.isEnterprise is true. Overrides other parameters of the same name. */enterpriseValue: String?, /** * The value for the parameter will be derived from the equivalent experiment * configuration value. * Only desktop uses this currently. */experimentConfig: String?)
-
Declaration
Swift
public static func == (lhs: SearchUrlParam, rhs: SearchUrlParam) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)