Swiftagram Documentation

Structure User.​Access

public struct Access: OptionSet, Hashable, Codable  

An enum representing an access status.

%153 User.Access User.Access Hashable Hashable User.Access->Hashable OptionSet OptionSet User.Access->OptionSet Codable Codable User.Access->Codable

Member Of

User

A struct representing a User.

Conforms To

Codable
Hashable
OptionSet

Initializers

init(raw​Value:​)

public init(rawValue: Int)  

Init.

Parameters

raw​Value Int

A valid Int.

Properties

raw​Value

public let rawValue: Int

The underlying raw value.

`private`

public static let `private`: Access  

A private account.

verified

public static let verified: Access  

A verified account.

business

public static let business: Access  

A business account.

creator

public static let creator: Access  

A creator account.