SwiftstructAskToCore
RequestStagingOutcomeEvent
struct AskToCore.RequestStagingOutcomeEvent
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolAskToCore.MetricsEvent
Members 20
- func
static logFailure(detail: AskToCore.RequestStagingOutcomeEvent.Detail, error: Error, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger) -> () - func
static logFailure(detail: AskToCore.RequestStagingOutcomeEvent.Detail, error: Error, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> () - func
static logRequestAccepted(error: Error?, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger) -> () - func
static logSuccess(phase: AskToCore.RequestStagingOutcomeEvent.Phase, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger) -> () - func
static logSuccess(phase: AskToCore.RequestStagingOutcomeEvent.Phase, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> () - func
static logSuccess(detail: AskToCore.RequestStagingOutcomeEvent.Detail, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic, using: AskToCore.MetricsLogger) -> () - func
static logSuccess(detail: AskToCore.RequestStagingOutcomeEvent.Detail, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> () - var
static var errorChainSeparator: String { get } - var
static var maximumErrorChainDepth: Int { get } - field
let clientBundleIdentifier: String?+0x50 - field
let detail: AskToCore.RequestStagingOutcomeEvent.Detail?+0x18 - field
let error: Error?+0x48 - field
let failureOwner: AskToCore.RequestStagingOutcomeEvent.FailureOwner+0x40 - field
let name: String+0x0 - field
let phase: AskToCore.RequestStagingOutcomeEvent.Phase+0x10 - field
let questionTopic: AskTo.ATQuestion.Topic+0x60 - init
init(phase: AskToCore.RequestStagingOutcomeEvent.Phase, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> AskToCore.RequestStagingOutcomeEvent - init
init(detail: AskToCore.RequestStagingOutcomeEvent.Detail, didSucceed: Bool, error: Error?, clientBundleIdentifier: String?, questionTopic: AskTo.ATQuestion.Topic) -> AskToCore.RequestStagingOutcomeEvent - typealias
typealias Field = Field - var
var fields: [AskToCore.RequestStagingOutcomeEvent.Field : Any] { get }
Header
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) }