Xmtp_MessageApi_V1_Cursor

public struct Xmtp_MessageApi_V1_Cursor
extension Xmtp_MessageApi_V1_Cursor: @unchecked Sendable
extension Xmtp_MessageApi_V1_Cursor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding

Wrapper for potentially multiple types of cursor

  • Making the cursor a one-of type, as I would like to change the way we handle pagination to use a precomputed sort field. This way we can handle both methods

    Declaration

    Swift

    public var cursor: Xmtp_MessageApi_V1_Cursor.OneOf_Cursor?
  • Undocumented

    Declaration

    Swift

    public var index: Xmtp_MessageApi_V1_IndexCursor { get set }
  • Declaration

    Swift

    public var unknownFields: UnknownStorage
  • Making the cursor a one-of type, as I would like to change the way we handle pagination to use a precomputed sort field. This way we can handle both methods

    See more

    Declaration

    Swift

    public enum OneOf_Cursor : Equatable
    extension Xmtp_MessageApi_V1_Cursor.OneOf_Cursor: @unchecked Sendable
  • Declaration

    Swift

    public init()

Code below here is support for the SwiftProtobuf runtime.

  • Declaration

    Swift

    public static let protoMessageName: String
  • Declaration

    Swift

    public static let _protobuf_nameMap: SwiftProtobuf._NameMap
  • Declaration

    Swift

    public mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
  • Declaration

    Swift

    public func traverse<V>(visitor: inout V) throws where V : Visitor
  • Declaration

    Swift

    public static func == (lhs: Xmtp_MessageApi_V1_Cursor, rhs: Xmtp_MessageApi_V1_Cursor) -> Bool