# Functions
Check user privileges.
NewHasPrivilegesFunc returns a new instance of HasPrivileges with the provided transport.
NewRequest returns a Request.
NewResponse returns a Response.
# Variables
ErrBuildPath is returned in case of missing parameters within the build of the request.
# Structs
No description provided by the author
Request holds the request body struct for the package hasprivileges
https://github.com/elastic/elasticsearch-specification/blob/2f823ff6fcaa7f3f0f9b990dc90512d8901e5d64/specification/security/has_privileges/SecurityHasPrivilegesRequest.ts#L25-L46.
Response holds the response body struct for the package hasprivileges
https://github.com/elastic/elasticsearch-specification/blob/2f823ff6fcaa7f3f0f9b990dc90512d8901e5d64/specification/security/has_privileges/SecurityHasPrivilegesResponse.ts#L24-L32.
# Type aliases
NewHasPrivileges type alias for index.