Store
Holds all available information about a Store.
Fields
id
The unique identifier for the store. This property returns the `storeId` as a `String`, which serves as the unique identifier for the store.
public var id: String
Static Methods
==(::)
Compares two Store
instances for equality.
This function compares multiple key properties of the two Store
instances, including storeId
, contextId
, createDate
, creator
, privateMeta
, publicMeta
, filesCount
, lastFileDate
, lastModificationDate
, lastModifier
, managers
, users
, version
, and statusCode
.
public static func == (
lhs: privmx.endpoint.store.Store,
rhs: privmx.endpoint.store.Store
) -> Bool
Name | Type | Description |
---|---|---|
lhs | privmx.endpoint.store.Store | The left-hand side `Store` instance. |
rhs | privmx.endpoint.store.Store | The right-hand side `Store` instance. |
Type | Description |
---|---|
Bool | `true` if all relevant fields of both stores are equal, otherwise `false`. |
Methods
hash(into:)
Generates a hash value for the Store
instance.
This function combines several properties, including storeId
, lastModificationDate
, and version
to generate a unique hash value for the store.
public func hash(into hasher: inout Hasher) -> Void
Name | Type | Description |
---|---|---|
hasher | inout Hasher | The `Hasher` instance used to compute the hash value. |