SwiftstructAskToCore

struct AskToCore.RequestStagingOutcomeEvent

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 20

  1. funcstatic logFailure(detail: AskToCore.RequestStagingOutcomeEvent.Detail, error: Error, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger) -> ()
  2. funcstatic logFailure(detail: AskToCore.RequestStagingOutcomeEvent.Detail, error: Error, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> ()
  3. funcstatic logRequestAccepted(error: Error?, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger) -> ()
  4. funcstatic logSuccess(phase: AskToCore.RequestStagingOutcomeEvent.Phase, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger) -> ()
  5. funcstatic logSuccess(phase: AskToCore.RequestStagingOutcomeEvent.Phase, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> ()
  6. funcstatic logSuccess(detail: AskToCore.RequestStagingOutcomeEvent.Detail, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger) -> ()
  7. funcstatic logSuccess(detail: AskToCore.RequestStagingOutcomeEvent.Detail, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> ()
  8. varstatic var errorChainSeparator: String { get }
  9. varstatic var maximumErrorChainDepth: Int { get }
  10. fieldlet clientBundleIdentifier: String?+0x50
  11. fieldlet detail: AskToCore.RequestStagingOutcomeEvent.Detail?+0x18
  12. fieldlet error: Error?+0x48
  13. fieldlet failureOwner: AskToCore.RequestStagingOutcomeEvent.FailureOwner+0x40
  14. fieldlet name: String+0x0
  15. fieldlet phase: AskToCore.RequestStagingOutcomeEvent.Phase+0x10
  16. fieldlet questionTopic: AskTo.ATQuestion.Topic+0x60
  17. initinit(phase: AskToCore.RequestStagingOutcomeEvent.Phase, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> AskToCore.RequestStagingOutcomeEvent
  18. initinit(detail: AskToCore.RequestStagingOutcomeEvent.Detail, didSucceed: Bool, error: Error?, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> AskToCore.RequestStagingOutcomeEvent
  19. typealiastypealias Field = Field
  20. varvar fields: [AskToCore.RequestStagingOutcomeEvent.Field : Any] { get }
struct RequestStagingOutcomeEvent {
    enum Phase {
        case requestAccepted
        case uiPresented
        case userDecided
        case requestDelivered
        case requestAnswered

        var name: Swift.String {
            get
        }
    }
    enum FailureOwner {
        case none
        case familyConfiguration
        case askTo
        case dependency
        case unattributed

        var name: Swift.String {
            get
        }
    }
    enum PresentationDetail {
        case payloadPreparationFailed
        case composeSheetShown
        case messagesLaunched
        case userConfigValidationFailed
        case presentationInfrastructureFailed

        var isFailure: Swift.Bool {
            get
        }
        var name: Swift.String {
            get
        }

        static var block: Swift.Range<Swift.Int> {
            get
        }
        static var phase: AskToCore.RequestStagingOutcomeEvent.Phase {
            get
        }
    }
    enum SendStatusDetail {
        case cancelledAtAcknowledgement
        case sent
        case cancelled
        case failed

        var isFailure: Swift.Bool {
            get
        }
        var name: Swift.String {
            get
        }

        static var block: Swift.Range<Swift.Int> {
            get
        }
        static var phase: AskToCore.RequestStagingOutcomeEvent.Phase {
            get
        }
    }
    enum ApproveInPersonDetail {
        case approved
        case declined
        case finishedWithAnswer
        case cancelled
        case failed

        var isFailure: Swift.Bool {
            get
        }
        var name: Swift.String {
            get
        }

        static var block: Swift.Range<Swift.Int> {
            get
        }
        static var phase: AskToCore.RequestStagingOutcomeEvent.Phase {
            get
        }
    }
    enum RequestAcceptedDetail {
        case dispatchFailed

        var isFailure: Swift.Bool {
            get
        }
        var name: Swift.String {
            get
        }

        static var block: Swift.Range<Swift.Int> {
            get
        }
        static var phase: AskToCore.RequestStagingOutcomeEvent.Phase {
            get
        }
    }
    enum Field {
        case phase
        case detail
        case failureOwner
        case errorDomain
        case errorCode
        case underlyingErrorDomainChain
        case underlyingErrorCodeChain
        case clientBundleIdentifier
        case questionTopic
    }
    protocol Detail: Swift.RawRepresentable where Self.RawValue == Swift.Int {
        var isFailure: Swift.Bool {
            get
        }
        var name: Swift.String {
            get
        }

        static var block: Swift.Range<Swift.Int> {
            get
        }
        static var phase: AskToCore.RequestStagingOutcomeEvent.Phase {
            get
        }
    }
    let name: Swift.String
    let phase: AskToCore.RequestStagingOutcomeEvent.Phase
    let detail: (any AskToCore.RequestStagingOutcomeEvent.Detail)?
    let failureOwner: AskToCore.RequestStagingOutcomeEvent.FailureOwner
    let error: (any Swift.Error)?
    let clientBundleIdentifier: Swift.String?
    let questionTopic: AskTo.ATQuestion.Topic

    init(phase: AskToCore.RequestStagingOutcomeEvent.Phase, clientBundleIdentifier: Swift.String?, questionTopic: AskTo.ATQuestion.Topic)
    init(detail: any AskToCore.RequestStagingOutcomeEvent.Detail, didSucceed: Swift.Bool, error: (any Swift.Error)?, clientBundleIdentifier: Swift.String?, questionTopic: AskTo.ATQuestion.Topic)

    var fields: [AskToCore.RequestStagingOutcomeEvent.Field : Any] {
        get
    }

    static var errorChainSeparator: Swift.String {
        get
    }
    static var maximumErrorChainDepth: Swift.Int {
        get
    }

    static func logRequestAccepted(error: (any Swift.Error)?, clientBundleIdentifier: Swift.String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger)
    static func logFailure(detail: any AskToCore.RequestStagingOutcomeEvent.Detail, error: any Swift.Error, clientBundleIdentifier: Swift.String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger)
    static func logFailure(detail: any AskToCore.RequestStagingOutcomeEvent.Detail, error: any Swift.Error, clientBundleIdentifier: Swift.String?, questionTopic: AskTo.ATQuestion.Topic)
    static func logSuccess(phase: AskToCore.RequestStagingOutcomeEvent.Phase, clientBundleIdentifier: Swift.String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger)
    static func logSuccess(phase: AskToCore.RequestStagingOutcomeEvent.Phase, clientBundleIdentifier: Swift.String?, questionTopic: AskTo.ATQuestion.Topic)
    static func logSuccess(detail: any AskToCore.RequestStagingOutcomeEvent.Detail, clientBundleIdentifier: Swift.String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger)
    static func logSuccess(detail: any AskToCore.RequestStagingOutcomeEvent.Detail, clientBundleIdentifier: Swift.String?, questionTopic: AskTo.ATQuestion.Topic)
}