ConversationId

open class ConversationId : ConversationIdProtocol, @unchecked Sendable
extension ConversationId: CustomDebugStringConvertible
extension ConversationId: CustomStringConvertible
extension ConversationId: Equatable
extension ConversationId: Hashable

A unique identifier for a single conversation.

The backend provides an opaque string identifying a new conversation. Construct an instance of this newtype to pass that identifier to Rust.

  • Infallibly instantiate an instance from a byte array.

    Declaration

    Swift

    public convenience init(bytes: Data)
  • Copy the wrapped data into a new byte array.

    Declaration

    Swift

    open func copyBytes() -> Data
  • Declaration

    Swift

    open var debugDescription: String { get }
  • Declaration

    Swift

    open var description: String { get }
  • Declaration

    Swift

    public static func == (self: ConversationId, other: ConversationId) -> Bool
  • Declaration

    Swift

    open func hash(into hasher: inout Hasher)