Xmtp_MessageApi_V1_PagingInfo

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

This is based off of the go-waku PagingInfo struct, but with the direction changed to our SortDirection enum format

  • Note: this is a uint32, while go-waku’s pageSize is a uint64

    Declaration

    Swift

    public var limit: UInt32
  • Undocumented

    Declaration

    Swift

    public var cursor: Xmtp_MessageApi_V1_Cursor { get set }
  • Returns true if cursor has been explicitly set.

    Declaration

    Swift

    public var hasCursor: Bool { get }
  • Clears the value of cursor. Subsequent reads from it will return its default value.

    Declaration

    Swift

    public mutating func clearCursor()
  • Undocumented

    Declaration

    Swift

    public var direction: Xmtp_MessageApi_V1_SortDirection
  • Declaration

    Swift

    public var unknownFields: UnknownStorage
  • 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_PagingInfo, rhs: Xmtp_MessageApi_V1_PagingInfo) -> Bool