@wireapp/core-crypto
    Preparing search index...

    Class ConversationId

    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.

    Hierarchy

    • UniffiAbstractObject
      • ConversationId

    Implements

    Index

    Constructors

    • Construct a new instance, transferring data from the client layer to Rust.

      Parameters

      • bytes: ArrayBuffer

      Returns ConversationId

    Properties

    "[destructorGuardSymbol]": UniffiRustArcPtr
    "[pointerLiteralSymbol]": bigint
    "[uniffiTypeNameSymbol]": "ConversationId"

    Methods

    • Get the raw bytes from this type, transferring data from Rust to the client layer.

      This does not consume the newtype, instead copying the internal data across the FFI boundary.

      Returns ArrayBuffer

    • Calls into the == method of ConversationIdInterface (the native Rust peer).

      Returns true if and only if the two instance of ConversationIdInterface are equivalent on the Rust side.

      Generated by deriving the Eq trait in Rust.

      Parameters

      Returns boolean

    • Calls into the hash method of ConversationIdInterface (the native Rust peer).

      Generated by deriving the Hash trait in Rust.

      Returns bigint

    • Calls into the Debug string representation of ConversationIdInterface (the native Rust peer).

      Generated by deriving the Debug trait in Rust.

      Returns string

    • Calls into the ConversationIdInterface::to_string() method of the native Rust peer.

      Generated by deriving the Display trait in Rust.

      Returns string

    • {@inheritDoc uniffi-bindgen-react-native#UniffiAbstractObject.uniffiDestroy}

      Returns void

    • A convenience method to use this object, then destroy it after its use.

      Type Parameters

      • T

      Parameters

      • block: (obj: this) => T

      Returns T

    • Parameters

      • obj: any

      Returns obj is ConversationId