Skip to main content

ServerNotification

Enum ServerNotification 

Source
pub enum ServerNotification {
Show 68 variants Error(ErrorNotification), ThreadStarted(ThreadStartedNotification), ThreadStatusChanged(ThreadStatusChangedNotification), ThreadArchived(ThreadArchivedNotification), ThreadDeleted(ThreadDeletedNotification), ThreadUnarchived(ThreadUnarchivedNotification), ThreadClosed(ThreadClosedNotification), SkillsChanged(SkillsChangedNotification), ThreadNameUpdated(ThreadNameUpdatedNotification), ThreadGoalUpdated(ThreadGoalUpdatedNotification), ThreadGoalCleared(ThreadGoalClearedNotification), ThreadSettingsUpdated(ThreadSettingsUpdatedNotification), ThreadTokenUsageUpdated(ThreadTokenUsageUpdatedNotification), TurnStarted(TurnStartedNotification), HookStarted(HookStartedNotification), TurnCompleted(TurnCompletedNotification), HookCompleted(HookCompletedNotification), TurnDiffUpdated(TurnDiffUpdatedNotification), TurnPlanUpdated(TurnPlanUpdatedNotification), ItemStarted(ItemStartedNotification), ItemAutoApprovalReviewStarted(ItemGuardianApprovalReviewStartedNotification), ItemAutoApprovalReviewCompleted(ItemGuardianApprovalReviewCompletedNotification), ItemCompleted(ItemCompletedNotification), ItemAgentMessageDelta(AgentMessageDeltaNotification), ItemPlanDelta(PlanDeltaNotification), CommandExecOutputDelta(CommandExecOutputDeltaNotification), ProcessOutputDelta(ProcessOutputDeltaNotification), ProcessExited(ProcessExitedNotification), ItemCommandExecutionOutputDelta(CommandExecutionOutputDeltaNotification), ItemCommandExecutionTerminalInteraction(TerminalInteractionNotification), ItemFileChangeOutputDelta(FileChangeOutputDeltaNotification), ItemFileChangePatchUpdated(FileChangePatchUpdatedNotification), ServerRequestResolved(ServerRequestResolvedNotification), ItemMcpToolCallProgress(McpToolCallProgressNotification), McpServerOauthLoginCompleted(McpServerOauthLoginCompletedNotification), McpServerStartupStatusUpdated(McpServerStatusUpdatedNotification), AccountUpdated(AccountUpdatedNotification), AccountRateLimitsUpdated(AccountRateLimitsUpdatedNotification), AppListUpdated(AppListUpdatedNotification), RemoteControlStatusChanged(RemoteControlStatusChangedNotification), ExternalAgentConfigImportProgress(ExternalAgentConfigImportProgressNotification), ExternalAgentConfigImportCompleted(ExternalAgentConfigImportCompletedNotification), FsChanged(FsChangedNotification), ItemReasoningSummaryTextDelta(ReasoningSummaryTextDeltaNotification), ItemReasoningSummaryPartAdded(ReasoningSummaryPartAddedNotification), ItemReasoningTextDelta(ReasoningTextDeltaNotification), ThreadCompacted(ContextCompactedNotification), ModelRerouted(ModelReroutedNotification), ModelVerification(ModelVerificationNotification), TurnModerationMetadata(TurnModerationMetadataNotification), ModelSafetyBufferingUpdated(ModelSafetyBufferingUpdatedNotification), Warning(WarningNotification), GuardianWarning(GuardianWarningNotification), DeprecationNotice(DeprecationNoticeNotification), ConfigWarning(ConfigWarningNotification), FuzzyFileSearchSessionUpdated(FuzzyFileSearchSessionUpdatedNotification), FuzzyFileSearchSessionCompleted(FuzzyFileSearchSessionCompletedNotification), ThreadRealtimeStarted(ThreadRealtimeStartedNotification), ThreadRealtimeItemAdded(ThreadRealtimeItemAddedNotification), ThreadRealtimeTranscriptDelta(ThreadRealtimeTranscriptDeltaNotification), ThreadRealtimeTranscriptDone(ThreadRealtimeTranscriptDoneNotification), ThreadRealtimeOutputAudioDelta(ThreadRealtimeOutputAudioDeltaNotification), ThreadRealtimeSdp(ThreadRealtimeSdpNotification), ThreadRealtimeError(ThreadRealtimeErrorNotification), ThreadRealtimeClosed(ThreadRealtimeClosedNotification), WindowsWorldWritableWarning(WindowsWorldWritableWarningNotification), WindowsSandboxSetupCompleted(WindowsSandboxSetupCompletedNotification), AccountLoginCompleted(AccountLoginCompletedNotification),
}
Expand description

Notification sent from the server to the client.

JSON schema
{
 "title": "ServerNotification",
 "description": "Notification sent from the server to the client.",
 "oneOf": [
   {
     "title": "ErrorNotification",
     "description": "NEW NOTIFICATIONS",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "ErrorNotificationMethod",
         "type": "string",
         "enum": [
           "error"
         ]
       },
       "params": {
         "$ref": "#/definitions/ErrorNotification"
       }
     }
   },
   {
     "title": "Thread/startedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/startedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/started"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadStartedNotification"
       }
     }
   },
   {
     "title": "Thread/status/changedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/status/changedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/status/changed"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadStatusChangedNotification"
       }
     }
   },
   {
     "title": "Thread/archivedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/archivedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/archived"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadArchivedNotification"
       }
     }
   },
   {
     "title": "Thread/deletedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/deletedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/deleted"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadDeletedNotification"
       }
     }
   },
   {
     "title": "Thread/unarchivedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/unarchivedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/unarchived"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadUnarchivedNotification"
       }
     }
   },
   {
     "title": "Thread/closedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/closedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/closed"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadClosedNotification"
       }
     }
   },
   {
     "title": "Skills/changedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Skills/changedNotificationMethod",
         "type": "string",
         "enum": [
           "skills/changed"
         ]
       },
       "params": {
         "$ref": "#/definitions/SkillsChangedNotification"
       }
     }
   },
   {
     "title": "Thread/name/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/name/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/name/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadNameUpdatedNotification"
       }
     }
   },
   {
     "title": "Thread/goal/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/goal/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/goal/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadGoalUpdatedNotification"
       }
     }
   },
   {
     "title": "Thread/goal/clearedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/goal/clearedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/goal/cleared"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadGoalClearedNotification"
       }
     }
   },
   {
     "title": "Thread/settings/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/settings/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/settings/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadSettingsUpdatedNotification"
       }
     }
   },
   {
     "title": "Thread/tokenUsage/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/tokenUsage/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/tokenUsage/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadTokenUsageUpdatedNotification"
       }
     }
   },
   {
     "title": "Turn/startedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Turn/startedNotificationMethod",
         "type": "string",
         "enum": [
           "turn/started"
         ]
       },
       "params": {
         "$ref": "#/definitions/TurnStartedNotification"
       }
     }
   },
   {
     "title": "Hook/startedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Hook/startedNotificationMethod",
         "type": "string",
         "enum": [
           "hook/started"
         ]
       },
       "params": {
         "$ref": "#/definitions/HookStartedNotification"
       }
     }
   },
   {
     "title": "Turn/completedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Turn/completedNotificationMethod",
         "type": "string",
         "enum": [
           "turn/completed"
         ]
       },
       "params": {
         "$ref": "#/definitions/TurnCompletedNotification"
       }
     }
   },
   {
     "title": "Hook/completedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Hook/completedNotificationMethod",
         "type": "string",
         "enum": [
           "hook/completed"
         ]
       },
       "params": {
         "$ref": "#/definitions/HookCompletedNotification"
       }
     }
   },
   {
     "title": "Turn/diff/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Turn/diff/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "turn/diff/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/TurnDiffUpdatedNotification"
       }
     }
   },
   {
     "title": "Turn/plan/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Turn/plan/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "turn/plan/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/TurnPlanUpdatedNotification"
       }
     }
   },
   {
     "title": "Item/startedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/startedNotificationMethod",
         "type": "string",
         "enum": [
           "item/started"
         ]
       },
       "params": {
         "$ref": "#/definitions/ItemStartedNotification"
       }
     }
   },
   {
     "title": "Item/autoApprovalReview/startedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/autoApprovalReview/startedNotificationMethod",
         "type": "string",
         "enum": [
           "item/autoApprovalReview/started"
         ]
       },
       "params": {
         "$ref": "#/definitions/ItemGuardianApprovalReviewStartedNotification"
       }
     }
   },
   {
     "title": "Item/autoApprovalReview/completedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/autoApprovalReview/completedNotificationMethod",
         "type": "string",
         "enum": [
           "item/autoApprovalReview/completed"
         ]
       },
       "params": {
         "$ref": "#/definitions/ItemGuardianApprovalReviewCompletedNotification"
       }
     }
   },
   {
     "title": "Item/completedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/completedNotificationMethod",
         "type": "string",
         "enum": [
           "item/completed"
         ]
       },
       "params": {
         "$ref": "#/definitions/ItemCompletedNotification"
       }
     }
   },
   {
     "title": "Item/agentMessage/deltaNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/agentMessage/deltaNotificationMethod",
         "type": "string",
         "enum": [
           "item/agentMessage/delta"
         ]
       },
       "params": {
         "$ref": "#/definitions/AgentMessageDeltaNotification"
       }
     }
   },
   {
     "title": "Item/plan/deltaNotification",
     "description": "EXPERIMENTAL - proposed plan streaming deltas for plan items.",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/plan/deltaNotificationMethod",
         "type": "string",
         "enum": [
           "item/plan/delta"
         ]
       },
       "params": {
         "$ref": "#/definitions/PlanDeltaNotification"
       }
     }
   },
   {
     "title": "Command/exec/outputDeltaNotification",
     "description": "Stream base64-encoded stdout/stderr chunks for a running `command/exec` session.",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Command/exec/outputDeltaNotificationMethod",
         "type": "string",
         "enum": [
           "command/exec/outputDelta"
         ]
       },
       "params": {
         "$ref": "#/definitions/CommandExecOutputDeltaNotification"
       }
     }
   },
   {
     "title": "Process/outputDeltaNotification",
     "description": "Stream base64-encoded stdout/stderr chunks for a running `process/spawn` session.",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Process/outputDeltaNotificationMethod",
         "type": "string",
         "enum": [
           "process/outputDelta"
         ]
       },
       "params": {
         "$ref": "#/definitions/ProcessOutputDeltaNotification"
       }
     }
   },
   {
     "title": "Process/exitedNotification",
     "description": "Final exit notification for a `process/spawn` session.",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Process/exitedNotificationMethod",
         "type": "string",
         "enum": [
           "process/exited"
         ]
       },
       "params": {
         "$ref": "#/definitions/ProcessExitedNotification"
       }
     }
   },
   {
     "title": "Item/commandExecution/outputDeltaNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/commandExecution/outputDeltaNotificationMethod",
         "type": "string",
         "enum": [
           "item/commandExecution/outputDelta"
         ]
       },
       "params": {
         "$ref": "#/definitions/CommandExecutionOutputDeltaNotification"
       }
     }
   },
   {
     "title": "Item/commandExecution/terminalInteractionNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/commandExecution/terminalInteractionNotificationMethod",
         "type": "string",
         "enum": [
           "item/commandExecution/terminalInteraction"
         ]
       },
       "params": {
         "$ref": "#/definitions/TerminalInteractionNotification"
       }
     }
   },
   {
     "title": "Item/fileChange/outputDeltaNotification",
     "description": "Deprecated legacy apply_patch output stream notification.",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/fileChange/outputDeltaNotificationMethod",
         "type": "string",
         "enum": [
           "item/fileChange/outputDelta"
         ]
       },
       "params": {
         "$ref": "#/definitions/FileChangeOutputDeltaNotification"
       }
     }
   },
   {
     "title": "Item/fileChange/patchUpdatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/fileChange/patchUpdatedNotificationMethod",
         "type": "string",
         "enum": [
           "item/fileChange/patchUpdated"
         ]
       },
       "params": {
         "$ref": "#/definitions/FileChangePatchUpdatedNotification"
       }
     }
   },
   {
     "title": "ServerRequest/resolvedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "ServerRequest/resolvedNotificationMethod",
         "type": "string",
         "enum": [
           "serverRequest/resolved"
         ]
       },
       "params": {
         "$ref": "#/definitions/ServerRequestResolvedNotification"
       }
     }
   },
   {
     "title": "Item/mcpToolCall/progressNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/mcpToolCall/progressNotificationMethod",
         "type": "string",
         "enum": [
           "item/mcpToolCall/progress"
         ]
       },
       "params": {
         "$ref": "#/definitions/McpToolCallProgressNotification"
       }
     }
   },
   {
     "title": "McpServer/oauthLogin/completedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "McpServer/oauthLogin/completedNotificationMethod",
         "type": "string",
         "enum": [
           "mcpServer/oauthLogin/completed"
         ]
       },
       "params": {
         "$ref": "#/definitions/McpServerOauthLoginCompletedNotification"
       }
     }
   },
   {
     "title": "McpServer/startupStatus/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "McpServer/startupStatus/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "mcpServer/startupStatus/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/McpServerStatusUpdatedNotification"
       }
     }
   },
   {
     "title": "Account/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Account/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "account/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/AccountUpdatedNotification"
       }
     }
   },
   {
     "title": "Account/rateLimits/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Account/rateLimits/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "account/rateLimits/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/AccountRateLimitsUpdatedNotification"
       }
     }
   },
   {
     "title": "App/list/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "App/list/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "app/list/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/AppListUpdatedNotification"
       }
     }
   },
   {
     "title": "RemoteControl/status/changedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "RemoteControl/status/changedNotificationMethod",
         "type": "string",
         "enum": [
           "remoteControl/status/changed"
         ]
       },
       "params": {
         "$ref": "#/definitions/RemoteControlStatusChangedNotification"
       }
     }
   },
   {
     "title": "ExternalAgentConfig/import/progressNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "ExternalAgentConfig/import/progressNotificationMethod",
         "type": "string",
         "enum": [
           "externalAgentConfig/import/progress"
         ]
       },
       "params": {
         "$ref": "#/definitions/ExternalAgentConfigImportProgressNotification"
       }
     }
   },
   {
     "title": "ExternalAgentConfig/import/completedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "ExternalAgentConfig/import/completedNotificationMethod",
         "type": "string",
         "enum": [
           "externalAgentConfig/import/completed"
         ]
       },
       "params": {
         "$ref": "#/definitions/ExternalAgentConfigImportCompletedNotification"
       }
     }
   },
   {
     "title": "Fs/changedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Fs/changedNotificationMethod",
         "type": "string",
         "enum": [
           "fs/changed"
         ]
       },
       "params": {
         "$ref": "#/definitions/FsChangedNotification"
       }
     }
   },
   {
     "title": "Item/reasoning/summaryTextDeltaNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/reasoning/summaryTextDeltaNotificationMethod",
         "type": "string",
         "enum": [
           "item/reasoning/summaryTextDelta"
         ]
       },
       "params": {
         "$ref": "#/definitions/ReasoningSummaryTextDeltaNotification"
       }
     }
   },
   {
     "title": "Item/reasoning/summaryPartAddedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/reasoning/summaryPartAddedNotificationMethod",
         "type": "string",
         "enum": [
           "item/reasoning/summaryPartAdded"
         ]
       },
       "params": {
         "$ref": "#/definitions/ReasoningSummaryPartAddedNotification"
       }
     }
   },
   {
     "title": "Item/reasoning/textDeltaNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Item/reasoning/textDeltaNotificationMethod",
         "type": "string",
         "enum": [
           "item/reasoning/textDelta"
         ]
       },
       "params": {
         "$ref": "#/definitions/ReasoningTextDeltaNotification"
       }
     }
   },
   {
     "title": "Thread/compactedNotification",
     "description": "Deprecated: Use `ContextCompaction` item type instead.",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/compactedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/compacted"
         ]
       },
       "params": {
         "$ref": "#/definitions/ContextCompactedNotification"
       }
     }
   },
   {
     "title": "Model/reroutedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Model/reroutedNotificationMethod",
         "type": "string",
         "enum": [
           "model/rerouted"
         ]
       },
       "params": {
         "$ref": "#/definitions/ModelReroutedNotification"
       }
     }
   },
   {
     "title": "Model/verificationNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Model/verificationNotificationMethod",
         "type": "string",
         "enum": [
           "model/verification"
         ]
       },
       "params": {
         "$ref": "#/definitions/ModelVerificationNotification"
       }
     }
   },
   {
     "title": "Turn/moderationMetadataNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Turn/moderationMetadataNotificationMethod",
         "type": "string",
         "enum": [
           "turn/moderationMetadata"
         ]
       },
       "params": {
         "$ref": "#/definitions/TurnModerationMetadataNotification"
       }
     }
   },
   {
     "title": "Model/safetyBuffering/updatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Model/safetyBuffering/updatedNotificationMethod",
         "type": "string",
         "enum": [
           "model/safetyBuffering/updated"
         ]
       },
       "params": {
         "$ref": "#/definitions/ModelSafetyBufferingUpdatedNotification"
       }
     }
   },
   {
     "title": "WarningNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "WarningNotificationMethod",
         "type": "string",
         "enum": [
           "warning"
         ]
       },
       "params": {
         "$ref": "#/definitions/WarningNotification"
       }
     }
   },
   {
     "title": "GuardianWarningNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "GuardianWarningNotificationMethod",
         "type": "string",
         "enum": [
           "guardianWarning"
         ]
       },
       "params": {
         "$ref": "#/definitions/GuardianWarningNotification"
       }
     }
   },
   {
     "title": "DeprecationNoticeNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "DeprecationNoticeNotificationMethod",
         "type": "string",
         "enum": [
           "deprecationNotice"
         ]
       },
       "params": {
         "$ref": "#/definitions/DeprecationNoticeNotification"
       }
     }
   },
   {
     "title": "ConfigWarningNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "ConfigWarningNotificationMethod",
         "type": "string",
         "enum": [
           "configWarning"
         ]
       },
       "params": {
         "$ref": "#/definitions/ConfigWarningNotification"
       }
     }
   },
   {
     "title": "FuzzyFileSearch/sessionUpdatedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "FuzzyFileSearch/sessionUpdatedNotificationMethod",
         "type": "string",
         "enum": [
           "fuzzyFileSearch/sessionUpdated"
         ]
       },
       "params": {
         "$ref": "#/definitions/FuzzyFileSearchSessionUpdatedNotification"
       }
     }
   },
   {
     "title": "FuzzyFileSearch/sessionCompletedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "FuzzyFileSearch/sessionCompletedNotificationMethod",
         "type": "string",
         "enum": [
           "fuzzyFileSearch/sessionCompleted"
         ]
       },
       "params": {
         "$ref": "#/definitions/FuzzyFileSearchSessionCompletedNotification"
       }
     }
   },
   {
     "title": "Thread/realtime/startedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/realtime/startedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/realtime/started"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadRealtimeStartedNotification"
       }
     }
   },
   {
     "title": "Thread/realtime/itemAddedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/realtime/itemAddedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/realtime/itemAdded"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadRealtimeItemAddedNotification"
       }
     }
   },
   {
     "title": "Thread/realtime/transcript/deltaNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/realtime/transcript/deltaNotificationMethod",
         "type": "string",
         "enum": [
           "thread/realtime/transcript/delta"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadRealtimeTranscriptDeltaNotification"
       }
     }
   },
   {
     "title": "Thread/realtime/transcript/doneNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/realtime/transcript/doneNotificationMethod",
         "type": "string",
         "enum": [
           "thread/realtime/transcript/done"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadRealtimeTranscriptDoneNotification"
       }
     }
   },
   {
     "title": "Thread/realtime/outputAudio/deltaNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/realtime/outputAudio/deltaNotificationMethod",
         "type": "string",
         "enum": [
           "thread/realtime/outputAudio/delta"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadRealtimeOutputAudioDeltaNotification"
       }
     }
   },
   {
     "title": "Thread/realtime/sdpNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/realtime/sdpNotificationMethod",
         "type": "string",
         "enum": [
           "thread/realtime/sdp"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadRealtimeSdpNotification"
       }
     }
   },
   {
     "title": "Thread/realtime/errorNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/realtime/errorNotificationMethod",
         "type": "string",
         "enum": [
           "thread/realtime/error"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadRealtimeErrorNotification"
       }
     }
   },
   {
     "title": "Thread/realtime/closedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Thread/realtime/closedNotificationMethod",
         "type": "string",
         "enum": [
           "thread/realtime/closed"
         ]
       },
       "params": {
         "$ref": "#/definitions/ThreadRealtimeClosedNotification"
       }
     }
   },
   {
     "title": "Windows/worldWritableWarningNotification",
     "description": "Notifies the user of world-writable directories on Windows, which cannot be protected by the sandbox.",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Windows/worldWritableWarningNotificationMethod",
         "type": "string",
         "enum": [
           "windows/worldWritableWarning"
         ]
       },
       "params": {
         "$ref": "#/definitions/WindowsWorldWritableWarningNotification"
       }
     }
   },
   {
     "title": "WindowsSandbox/setupCompletedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "WindowsSandbox/setupCompletedNotificationMethod",
         "type": "string",
         "enum": [
           "windowsSandbox/setupCompleted"
         ]
       },
       "params": {
         "$ref": "#/definitions/WindowsSandboxSetupCompletedNotification"
       }
     }
   },
   {
     "title": "Account/login/completedNotification",
     "type": "object",
     "required": [
       "method",
       "params"
     ],
     "properties": {
       "method": {
         "title": "Account/login/completedNotificationMethod",
         "type": "string",
         "enum": [
           "account/login/completed"
         ]
       },
       "params": {
         "$ref": "#/definitions/AccountLoginCompletedNotification"
       }
     }
   }
 ],
 "$schema": "http://json-schema.org/draft-07/schema#"
}

Variants§

§

Error(ErrorNotification)

ErrorNotification

NEW NOTIFICATIONS

§

ThreadStarted(ThreadStartedNotification)

Thread/startedNotification

§

ThreadStatusChanged(ThreadStatusChangedNotification)

Thread/status/changedNotification

§

ThreadArchived(ThreadArchivedNotification)

Thread/archivedNotification

§

ThreadDeleted(ThreadDeletedNotification)

Thread/deletedNotification

§

ThreadUnarchived(ThreadUnarchivedNotification)

Thread/unarchivedNotification

§

ThreadClosed(ThreadClosedNotification)

Thread/closedNotification

§

SkillsChanged(SkillsChangedNotification)

Skills/changedNotification

§

ThreadNameUpdated(ThreadNameUpdatedNotification)

Thread/name/updatedNotification

§

ThreadGoalUpdated(ThreadGoalUpdatedNotification)

Thread/goal/updatedNotification

§

ThreadGoalCleared(ThreadGoalClearedNotification)

Thread/goal/clearedNotification

§

ThreadSettingsUpdated(ThreadSettingsUpdatedNotification)

Thread/settings/updatedNotification

§

ThreadTokenUsageUpdated(ThreadTokenUsageUpdatedNotification)

Thread/tokenUsage/updatedNotification

§

TurnStarted(TurnStartedNotification)

Turn/startedNotification

§

HookStarted(HookStartedNotification)

Hook/startedNotification

§

TurnCompleted(TurnCompletedNotification)

Turn/completedNotification

§

HookCompleted(HookCompletedNotification)

Hook/completedNotification

§

TurnDiffUpdated(TurnDiffUpdatedNotification)

Turn/diff/updatedNotification

§

TurnPlanUpdated(TurnPlanUpdatedNotification)

Turn/plan/updatedNotification

§

ItemStarted(ItemStartedNotification)

Item/startedNotification

§

ItemAutoApprovalReviewStarted(ItemGuardianApprovalReviewStartedNotification)

Item/autoApprovalReview/startedNotification

§

ItemAutoApprovalReviewCompleted(ItemGuardianApprovalReviewCompletedNotification)

Item/autoApprovalReview/completedNotification

§

ItemCompleted(ItemCompletedNotification)

Item/completedNotification

§

ItemAgentMessageDelta(AgentMessageDeltaNotification)

Item/agentMessage/deltaNotification

§

ItemPlanDelta(PlanDeltaNotification)

Item/plan/deltaNotification

EXPERIMENTAL - proposed plan streaming deltas for plan items.

§

CommandExecOutputDelta(CommandExecOutputDeltaNotification)

Command/exec/outputDeltaNotification

Stream base64-encoded stdout/stderr chunks for a running command/exec session.

§

ProcessOutputDelta(ProcessOutputDeltaNotification)

Process/outputDeltaNotification

Stream base64-encoded stdout/stderr chunks for a running process/spawn session.

§

ProcessExited(ProcessExitedNotification)

Process/exitedNotification

Final exit notification for a process/spawn session.

§

ItemCommandExecutionOutputDelta(CommandExecutionOutputDeltaNotification)

Item/commandExecution/outputDeltaNotification

§

ItemCommandExecutionTerminalInteraction(TerminalInteractionNotification)

Item/commandExecution/terminalInteractionNotification

§

ItemFileChangeOutputDelta(FileChangeOutputDeltaNotification)

Item/fileChange/outputDeltaNotification

Deprecated legacy apply_patch output stream notification.

§

ItemFileChangePatchUpdated(FileChangePatchUpdatedNotification)

Item/fileChange/patchUpdatedNotification

§

ServerRequestResolved(ServerRequestResolvedNotification)

ServerRequest/resolvedNotification

§

ItemMcpToolCallProgress(McpToolCallProgressNotification)

Item/mcpToolCall/progressNotification

§

McpServerOauthLoginCompleted(McpServerOauthLoginCompletedNotification)

McpServer/oauthLogin/completedNotification

§

McpServerStartupStatusUpdated(McpServerStatusUpdatedNotification)

McpServer/startupStatus/updatedNotification

§

AccountUpdated(AccountUpdatedNotification)

Account/updatedNotification

§

AccountRateLimitsUpdated(AccountRateLimitsUpdatedNotification)

Account/rateLimits/updatedNotification

§

AppListUpdated(AppListUpdatedNotification)

App/list/updatedNotification

§

RemoteControlStatusChanged(RemoteControlStatusChangedNotification)

RemoteControl/status/changedNotification

§

ExternalAgentConfigImportProgress(ExternalAgentConfigImportProgressNotification)

ExternalAgentConfig/import/progressNotification

§

ExternalAgentConfigImportCompleted(ExternalAgentConfigImportCompletedNotification)

ExternalAgentConfig/import/completedNotification

§

FsChanged(FsChangedNotification)

Fs/changedNotification

§

ItemReasoningSummaryTextDelta(ReasoningSummaryTextDeltaNotification)

Item/reasoning/summaryTextDeltaNotification

§

ItemReasoningSummaryPartAdded(ReasoningSummaryPartAddedNotification)

Item/reasoning/summaryPartAddedNotification

§

ItemReasoningTextDelta(ReasoningTextDeltaNotification)

Item/reasoning/textDeltaNotification

§

ThreadCompacted(ContextCompactedNotification)

Thread/compactedNotification

Deprecated: Use ContextCompaction item type instead.

§

ModelRerouted(ModelReroutedNotification)

Model/reroutedNotification

§

ModelVerification(ModelVerificationNotification)

Model/verificationNotification

§

TurnModerationMetadata(TurnModerationMetadataNotification)

Turn/moderationMetadataNotification

§

ModelSafetyBufferingUpdated(ModelSafetyBufferingUpdatedNotification)

Model/safetyBuffering/updatedNotification

§

Warning(WarningNotification)

WarningNotification

§

GuardianWarning(GuardianWarningNotification)

GuardianWarningNotification

§

DeprecationNotice(DeprecationNoticeNotification)

DeprecationNoticeNotification

§

ConfigWarning(ConfigWarningNotification)

ConfigWarningNotification

§

FuzzyFileSearchSessionUpdated(FuzzyFileSearchSessionUpdatedNotification)

FuzzyFileSearch/sessionUpdatedNotification

§

FuzzyFileSearchSessionCompleted(FuzzyFileSearchSessionCompletedNotification)

FuzzyFileSearch/sessionCompletedNotification

§

ThreadRealtimeStarted(ThreadRealtimeStartedNotification)

Thread/realtime/startedNotification

§

ThreadRealtimeItemAdded(ThreadRealtimeItemAddedNotification)

Thread/realtime/itemAddedNotification

§

ThreadRealtimeTranscriptDelta(ThreadRealtimeTranscriptDeltaNotification)

Thread/realtime/transcript/deltaNotification

§

ThreadRealtimeTranscriptDone(ThreadRealtimeTranscriptDoneNotification)

Thread/realtime/transcript/doneNotification

§

ThreadRealtimeOutputAudioDelta(ThreadRealtimeOutputAudioDeltaNotification)

Thread/realtime/outputAudio/deltaNotification

§

ThreadRealtimeSdp(ThreadRealtimeSdpNotification)

Thread/realtime/sdpNotification

§

ThreadRealtimeError(ThreadRealtimeErrorNotification)

Thread/realtime/errorNotification

§

ThreadRealtimeClosed(ThreadRealtimeClosedNotification)

Thread/realtime/closedNotification

§

WindowsWorldWritableWarning(WindowsWorldWritableWarningNotification)

Windows/worldWritableWarningNotification

Notifies the user of world-writable directories on Windows, which cannot be protected by the sandbox.

§

WindowsSandboxSetupCompleted(WindowsSandboxSetupCompletedNotification)

WindowsSandbox/setupCompletedNotification

§

AccountLoginCompleted(AccountLoginCompletedNotification)

Account/login/completedNotification

Implementations§

Source§

impl ServerNotification

Source

pub fn method_name(&self) -> &'static str

The wire method name, e.g. "turn/completed". Useful for logging a non-sensitive identifier without the full (potentially large or sensitive) notification payload.

Trait Implementations§

Source§

impl Clone for ServerNotification

Source§

fn clone(&self) -> ServerNotification

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ServerNotification

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for ServerNotification

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl From<AccountLoginCompletedNotification> for ServerNotification

Source§

fn from(value: AccountLoginCompletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<AccountRateLimitsUpdatedNotification> for ServerNotification

Source§

fn from(value: AccountRateLimitsUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<AccountUpdatedNotification> for ServerNotification

Source§

fn from(value: AccountUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<AgentMessageDeltaNotification> for ServerNotification

Source§

fn from(value: AgentMessageDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<AppListUpdatedNotification> for ServerNotification

Source§

fn from(value: AppListUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<CommandExecOutputDeltaNotification> for ServerNotification

Source§

fn from(value: CommandExecOutputDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<CommandExecutionOutputDeltaNotification> for ServerNotification

Source§

fn from(value: CommandExecutionOutputDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ConfigWarningNotification> for ServerNotification

Source§

fn from(value: ConfigWarningNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ContextCompactedNotification> for ServerNotification

Source§

fn from(value: ContextCompactedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<DeprecationNoticeNotification> for ServerNotification

Source§

fn from(value: DeprecationNoticeNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ErrorNotification> for ServerNotification

Source§

fn from(value: ErrorNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ExternalAgentConfigImportCompletedNotification> for ServerNotification

Source§

fn from(value: ExternalAgentConfigImportCompletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ExternalAgentConfigImportProgressNotification> for ServerNotification

Source§

fn from(value: ExternalAgentConfigImportProgressNotification) -> Self

Converts to this type from the input type.
Source§

impl From<FileChangeOutputDeltaNotification> for ServerNotification

Source§

fn from(value: FileChangeOutputDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<FileChangePatchUpdatedNotification> for ServerNotification

Source§

fn from(value: FileChangePatchUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<FsChangedNotification> for ServerNotification

Source§

fn from(value: FsChangedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<FuzzyFileSearchSessionCompletedNotification> for ServerNotification

Source§

fn from(value: FuzzyFileSearchSessionCompletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<FuzzyFileSearchSessionUpdatedNotification> for ServerNotification

Source§

fn from(value: FuzzyFileSearchSessionUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<GuardianWarningNotification> for ServerNotification

Source§

fn from(value: GuardianWarningNotification) -> Self

Converts to this type from the input type.
Source§

impl From<HookCompletedNotification> for ServerNotification

Source§

fn from(value: HookCompletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<HookStartedNotification> for ServerNotification

Source§

fn from(value: HookStartedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ItemCompletedNotification> for ServerNotification

Source§

fn from(value: ItemCompletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ItemGuardianApprovalReviewCompletedNotification> for ServerNotification

Source§

fn from(value: ItemGuardianApprovalReviewCompletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ItemGuardianApprovalReviewStartedNotification> for ServerNotification

Source§

fn from(value: ItemGuardianApprovalReviewStartedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ItemStartedNotification> for ServerNotification

Source§

fn from(value: ItemStartedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<McpServerOauthLoginCompletedNotification> for ServerNotification

Source§

fn from(value: McpServerOauthLoginCompletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<McpServerStatusUpdatedNotification> for ServerNotification

Source§

fn from(value: McpServerStatusUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<McpToolCallProgressNotification> for ServerNotification

Source§

fn from(value: McpToolCallProgressNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ModelReroutedNotification> for ServerNotification

Source§

fn from(value: ModelReroutedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ModelSafetyBufferingUpdatedNotification> for ServerNotification

Source§

fn from(value: ModelSafetyBufferingUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ModelVerificationNotification> for ServerNotification

Source§

fn from(value: ModelVerificationNotification) -> Self

Converts to this type from the input type.
Source§

impl From<PlanDeltaNotification> for ServerNotification

Source§

fn from(value: PlanDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ProcessExitedNotification> for ServerNotification

Source§

fn from(value: ProcessExitedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ProcessOutputDeltaNotification> for ServerNotification

Source§

fn from(value: ProcessOutputDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ReasoningSummaryPartAddedNotification> for ServerNotification

Source§

fn from(value: ReasoningSummaryPartAddedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ReasoningSummaryTextDeltaNotification> for ServerNotification

Source§

fn from(value: ReasoningSummaryTextDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ReasoningTextDeltaNotification> for ServerNotification

Source§

fn from(value: ReasoningTextDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<RemoteControlStatusChangedNotification> for ServerNotification

Source§

fn from(value: RemoteControlStatusChangedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ServerRequestResolvedNotification> for ServerNotification

Source§

fn from(value: ServerRequestResolvedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<SkillsChangedNotification> for ServerNotification

Source§

fn from(value: SkillsChangedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<TerminalInteractionNotification> for ServerNotification

Source§

fn from(value: TerminalInteractionNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadArchivedNotification> for ServerNotification

Source§

fn from(value: ThreadArchivedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadClosedNotification> for ServerNotification

Source§

fn from(value: ThreadClosedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadDeletedNotification> for ServerNotification

Source§

fn from(value: ThreadDeletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadGoalClearedNotification> for ServerNotification

Source§

fn from(value: ThreadGoalClearedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadGoalUpdatedNotification> for ServerNotification

Source§

fn from(value: ThreadGoalUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadNameUpdatedNotification> for ServerNotification

Source§

fn from(value: ThreadNameUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadRealtimeClosedNotification> for ServerNotification

Source§

fn from(value: ThreadRealtimeClosedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadRealtimeErrorNotification> for ServerNotification

Source§

fn from(value: ThreadRealtimeErrorNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadRealtimeItemAddedNotification> for ServerNotification

Source§

fn from(value: ThreadRealtimeItemAddedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadRealtimeOutputAudioDeltaNotification> for ServerNotification

Source§

fn from(value: ThreadRealtimeOutputAudioDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadRealtimeSdpNotification> for ServerNotification

Source§

fn from(value: ThreadRealtimeSdpNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadRealtimeStartedNotification> for ServerNotification

Source§

fn from(value: ThreadRealtimeStartedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadRealtimeTranscriptDeltaNotification> for ServerNotification

Source§

fn from(value: ThreadRealtimeTranscriptDeltaNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadRealtimeTranscriptDoneNotification> for ServerNotification

Source§

fn from(value: ThreadRealtimeTranscriptDoneNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadSettingsUpdatedNotification> for ServerNotification

Source§

fn from(value: ThreadSettingsUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadStartedNotification> for ServerNotification

Source§

fn from(value: ThreadStartedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadStatusChangedNotification> for ServerNotification

Source§

fn from(value: ThreadStatusChangedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadTokenUsageUpdatedNotification> for ServerNotification

Source§

fn from(value: ThreadTokenUsageUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<ThreadUnarchivedNotification> for ServerNotification

Source§

fn from(value: ThreadUnarchivedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<TurnCompletedNotification> for ServerNotification

Source§

fn from(value: TurnCompletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<TurnDiffUpdatedNotification> for ServerNotification

Source§

fn from(value: TurnDiffUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<TurnModerationMetadataNotification> for ServerNotification

Source§

fn from(value: TurnModerationMetadataNotification) -> Self

Converts to this type from the input type.
Source§

impl From<TurnPlanUpdatedNotification> for ServerNotification

Source§

fn from(value: TurnPlanUpdatedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<TurnStartedNotification> for ServerNotification

Source§

fn from(value: TurnStartedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<WarningNotification> for ServerNotification

Source§

fn from(value: WarningNotification) -> Self

Converts to this type from the input type.
Source§

impl From<WindowsSandboxSetupCompletedNotification> for ServerNotification

Source§

fn from(value: WindowsSandboxSetupCompletedNotification) -> Self

Converts to this type from the input type.
Source§

impl From<WindowsWorldWritableWarningNotification> for ServerNotification

Source§

fn from(value: WindowsWorldWritableWarningNotification) -> Self

Converts to this type from the input type.
Source§

impl Serialize for ServerNotification

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,