pub enum Payload {
Show 148 variants
Hello(Hello),
Ack(Ack),
Error(Error),
Ping(Ping),
Test(Test),
CreateRoom(CreateRoom),
CreateRoomResponse(CreateRoomResponse),
JoinRoom(JoinRoom),
JoinRoomResponse(JoinRoomResponse),
RejoinRoom(RejoinRoom),
RejoinRoomResponse(RejoinRoomResponse),
LeaveRoom(LeaveRoom),
Call(Call),
IncomingCall(IncomingCall),
CallCanceled(CallCanceled),
CancelCall(CancelCall),
DeclineCall(DeclineCall),
UpdateParticipantLocation(UpdateParticipantLocation),
RoomUpdated(RoomUpdated),
ShareProject(ShareProject),
ShareProjectResponse(ShareProjectResponse),
UnshareProject(UnshareProject),
JoinProject(JoinProject),
JoinProjectResponse(JoinProjectResponse),
LeaveProject(LeaveProject),
AddProjectCollaborator(AddProjectCollaborator),
UpdateProjectCollaborator(UpdateProjectCollaborator),
RemoveProjectCollaborator(RemoveProjectCollaborator),
GetDefinition(GetDefinition),
GetDefinitionResponse(GetDefinitionResponse),
GetTypeDefinition(GetTypeDefinition),
GetTypeDefinitionResponse(GetTypeDefinitionResponse),
GetReferences(GetReferences),
GetReferencesResponse(GetReferencesResponse),
GetDocumentHighlights(GetDocumentHighlights),
GetDocumentHighlightsResponse(GetDocumentHighlightsResponse),
GetProjectSymbols(GetProjectSymbols),
GetProjectSymbolsResponse(GetProjectSymbolsResponse),
OpenBufferForSymbol(OpenBufferForSymbol),
OpenBufferForSymbolResponse(OpenBufferForSymbolResponse),
UpdateProject(UpdateProject),
UpdateWorktree(UpdateWorktree),
CreateProjectEntry(CreateProjectEntry),
RenameProjectEntry(RenameProjectEntry),
CopyProjectEntry(CopyProjectEntry),
DeleteProjectEntry(DeleteProjectEntry),
ProjectEntryResponse(ProjectEntryResponse),
ExpandProjectEntry(ExpandProjectEntry),
ExpandProjectEntryResponse(ExpandProjectEntryResponse),
UpdateDiagnosticSummary(UpdateDiagnosticSummary),
StartLanguageServer(StartLanguageServer),
UpdateLanguageServer(UpdateLanguageServer),
OpenBufferById(OpenBufferById),
OpenBufferByPath(OpenBufferByPath),
OpenBufferResponse(OpenBufferResponse),
CreateBufferForPeer(CreateBufferForPeer),
UpdateBuffer(UpdateBuffer),
UpdateBufferFile(UpdateBufferFile),
SaveBuffer(SaveBuffer),
BufferSaved(BufferSaved),
BufferReloaded(BufferReloaded),
ReloadBuffers(ReloadBuffers),
ReloadBuffersResponse(ReloadBuffersResponse),
SynchronizeBuffers(SynchronizeBuffers),
SynchronizeBuffersResponse(SynchronizeBuffersResponse),
FormatBuffers(FormatBuffers),
FormatBuffersResponse(FormatBuffersResponse),
GetCompletions(GetCompletions),
GetCompletionsResponse(GetCompletionsResponse),
ResolveCompletionDocumentation(ResolveCompletionDocumentation),
ResolveCompletionDocumentationResponse(ResolveCompletionDocumentationResponse),
ApplyCompletionAdditionalEdits(ApplyCompletionAdditionalEdits),
ApplyCompletionAdditionalEditsResponse(ApplyCompletionAdditionalEditsResponse),
GetCodeActions(GetCodeActions),
GetCodeActionsResponse(GetCodeActionsResponse),
GetHover(GetHover),
GetHoverResponse(GetHoverResponse),
ApplyCodeAction(ApplyCodeAction),
ApplyCodeActionResponse(ApplyCodeActionResponse),
PrepareRename(PrepareRename),
PrepareRenameResponse(PrepareRenameResponse),
PerformRename(PerformRename),
PerformRenameResponse(PerformRenameResponse),
SearchProject(SearchProject),
SearchProjectResponse(SearchProjectResponse),
UpdateContacts(UpdateContacts),
UpdateInviteInfo(UpdateInviteInfo),
ShowContacts(ShowContacts),
GetUsers(GetUsers),
FuzzySearchUsers(FuzzySearchUsers),
UsersResponse(UsersResponse),
RequestContact(RequestContact),
RespondToContactRequest(RespondToContactRequest),
RemoveContact(RemoveContact),
Follow(Follow),
FollowResponse(FollowResponse),
UpdateFollowers(UpdateFollowers),
Unfollow(Unfollow),
GetPrivateUserInfo(GetPrivateUserInfo),
GetPrivateUserInfoResponse(GetPrivateUserInfoResponse),
UpdateDiffBase(UpdateDiffBase),
OnTypeFormatting(OnTypeFormatting),
OnTypeFormattingResponse(OnTypeFormattingResponse),
UpdateWorktreeSettings(UpdateWorktreeSettings),
InlayHints(InlayHints),
InlayHintsResponse(InlayHintsResponse),
ResolveInlayHint(ResolveInlayHint),
ResolveInlayHintResponse(ResolveInlayHintResponse),
RefreshInlayHints(RefreshInlayHints),
CreateChannel(CreateChannel),
CreateChannelResponse(CreateChannelResponse),
InviteChannelMember(InviteChannelMember),
RemoveChannelMember(RemoveChannelMember),
RespondToChannelInvite(RespondToChannelInvite),
UpdateChannels(UpdateChannels),
JoinChannel(JoinChannel),
DeleteChannel(DeleteChannel),
GetChannelMembers(GetChannelMembers),
GetChannelMembersResponse(GetChannelMembersResponse),
SetChannelMemberRole(SetChannelMemberRole),
RenameChannel(RenameChannel),
RenameChannelResponse(RenameChannelResponse),
JoinChannelBuffer(JoinChannelBuffer),
JoinChannelBufferResponse(JoinChannelBufferResponse),
UpdateChannelBuffer(UpdateChannelBuffer),
LeaveChannelBuffer(LeaveChannelBuffer),
UpdateChannelBufferCollaborators(UpdateChannelBufferCollaborators),
RejoinChannelBuffers(RejoinChannelBuffers),
RejoinChannelBuffersResponse(RejoinChannelBuffersResponse),
AckBufferOperation(AckBufferOperation),
JoinChannelChat(JoinChannelChat),
JoinChannelChatResponse(JoinChannelChatResponse),
LeaveChannelChat(LeaveChannelChat),
SendChannelMessage(SendChannelMessage),
SendChannelMessageResponse(SendChannelMessageResponse),
ChannelMessageSent(ChannelMessageSent),
GetChannelMessages(GetChannelMessages),
GetChannelMessagesResponse(GetChannelMessagesResponse),
RemoveChannelMessage(RemoveChannelMessage),
AckChannelMessage(AckChannelMessage),
GetChannelMessagesById(GetChannelMessagesById),
MoveChannel(MoveChannel),
SetChannelVisibility(SetChannelVisibility),
AddNotification(AddNotification),
GetNotifications(GetNotifications),
GetNotificationsResponse(GetNotificationsResponse),
DeleteNotification(DeleteNotification),
MarkNotificationRead(MarkNotificationRead),
}
Variants§
Hello(Hello)
Ack(Ack)
Error(Error)
Ping(Ping)
Test(Test)
CreateRoom(CreateRoom)
CreateRoomResponse(CreateRoomResponse)
JoinRoom(JoinRoom)
JoinRoomResponse(JoinRoomResponse)
RejoinRoom(RejoinRoom)
RejoinRoomResponse(RejoinRoomResponse)
LeaveRoom(LeaveRoom)
Call(Call)
IncomingCall(IncomingCall)
CallCanceled(CallCanceled)
CancelCall(CancelCall)
DeclineCall(DeclineCall)
UpdateParticipantLocation(UpdateParticipantLocation)
RoomUpdated(RoomUpdated)
JoinProject(JoinProject)
JoinProjectResponse(JoinProjectResponse)
LeaveProject(LeaveProject)
AddProjectCollaborator(AddProjectCollaborator)
UpdateProjectCollaborator(UpdateProjectCollaborator)
RemoveProjectCollaborator(RemoveProjectCollaborator)
GetDefinition(GetDefinition)
GetDefinitionResponse(GetDefinitionResponse)
GetTypeDefinition(GetTypeDefinition)
GetTypeDefinitionResponse(GetTypeDefinitionResponse)
GetReferences(GetReferences)
GetReferencesResponse(GetReferencesResponse)
GetDocumentHighlights(GetDocumentHighlights)
GetDocumentHighlightsResponse(GetDocumentHighlightsResponse)
GetProjectSymbols(GetProjectSymbols)
GetProjectSymbolsResponse(GetProjectSymbolsResponse)
OpenBufferForSymbol(OpenBufferForSymbol)
OpenBufferForSymbolResponse(OpenBufferForSymbolResponse)
UpdateProject(UpdateProject)
UpdateWorktree(UpdateWorktree)
CreateProjectEntry(CreateProjectEntry)
RenameProjectEntry(RenameProjectEntry)
CopyProjectEntry(CopyProjectEntry)
DeleteProjectEntry(DeleteProjectEntry)
ProjectEntryResponse(ProjectEntryResponse)
ExpandProjectEntry(ExpandProjectEntry)
ExpandProjectEntryResponse(ExpandProjectEntryResponse)
UpdateDiagnosticSummary(UpdateDiagnosticSummary)
StartLanguageServer(StartLanguageServer)
UpdateLanguageServer(UpdateLanguageServer)
OpenBufferById(OpenBufferById)
OpenBufferByPath(OpenBufferByPath)
OpenBufferResponse(OpenBufferResponse)
CreateBufferForPeer(CreateBufferForPeer)
UpdateBuffer(UpdateBuffer)
UpdateBufferFile(UpdateBufferFile)
SaveBuffer(SaveBuffer)
BufferSaved(BufferSaved)
BufferReloaded(BufferReloaded)
ReloadBuffers(ReloadBuffers)
ReloadBuffersResponse(ReloadBuffersResponse)
SynchronizeBuffers(SynchronizeBuffers)
SynchronizeBuffersResponse(SynchronizeBuffersResponse)
FormatBuffers(FormatBuffers)
FormatBuffersResponse(FormatBuffersResponse)
GetCompletions(GetCompletions)
GetCompletionsResponse(GetCompletionsResponse)
ResolveCompletionDocumentation(ResolveCompletionDocumentation)
ResolveCompletionDocumentationResponse(ResolveCompletionDocumentationResponse)
ApplyCompletionAdditionalEdits(ApplyCompletionAdditionalEdits)
ApplyCompletionAdditionalEditsResponse(ApplyCompletionAdditionalEditsResponse)
GetCodeActions(GetCodeActions)
GetCodeActionsResponse(GetCodeActionsResponse)
GetHover(GetHover)
GetHoverResponse(GetHoverResponse)
ApplyCodeAction(ApplyCodeAction)
ApplyCodeActionResponse(ApplyCodeActionResponse)
PrepareRename(PrepareRename)
PrepareRenameResponse(PrepareRenameResponse)
PerformRename(PerformRename)
PerformRenameResponse(PerformRenameResponse)
SearchProject(SearchProject)
SearchProjectResponse(SearchProjectResponse)
UpdateContacts(UpdateContacts)
UpdateInviteInfo(UpdateInviteInfo)
ShowContacts(ShowContacts)
GetUsers(GetUsers)
FuzzySearchUsers(FuzzySearchUsers)
UsersResponse(UsersResponse)
RequestContact(RequestContact)
RespondToContactRequest(RespondToContactRequest)
RemoveContact(RemoveContact)
Follow(Follow)
FollowResponse(FollowResponse)
UpdateFollowers(UpdateFollowers)
Unfollow(Unfollow)
GetPrivateUserInfo(GetPrivateUserInfo)
GetPrivateUserInfoResponse(GetPrivateUserInfoResponse)
UpdateDiffBase(UpdateDiffBase)
OnTypeFormatting(OnTypeFormatting)
OnTypeFormattingResponse(OnTypeFormattingResponse)
UpdateWorktreeSettings(UpdateWorktreeSettings)
InlayHints(InlayHints)
InlayHintsResponse(InlayHintsResponse)
ResolveInlayHint(ResolveInlayHint)
ResolveInlayHintResponse(ResolveInlayHintResponse)
RefreshInlayHints(RefreshInlayHints)
CreateChannel(CreateChannel)
CreateChannelResponse(CreateChannelResponse)
InviteChannelMember(InviteChannelMember)
RemoveChannelMember(RemoveChannelMember)
RespondToChannelInvite(RespondToChannelInvite)
UpdateChannels(UpdateChannels)
JoinChannel(JoinChannel)
DeleteChannel(DeleteChannel)
GetChannelMembers(GetChannelMembers)
GetChannelMembersResponse(GetChannelMembersResponse)
SetChannelMemberRole(SetChannelMemberRole)
RenameChannel(RenameChannel)
RenameChannelResponse(RenameChannelResponse)
JoinChannelBuffer(JoinChannelBuffer)
JoinChannelBufferResponse(JoinChannelBufferResponse)
UpdateChannelBuffer(UpdateChannelBuffer)
LeaveChannelBuffer(LeaveChannelBuffer)
UpdateChannelBufferCollaborators(UpdateChannelBufferCollaborators)
RejoinChannelBuffers(RejoinChannelBuffers)
RejoinChannelBuffersResponse(RejoinChannelBuffersResponse)
AckBufferOperation(AckBufferOperation)
JoinChannelChat(JoinChannelChat)
JoinChannelChatResponse(JoinChannelChatResponse)
LeaveChannelChat(LeaveChannelChat)
SendChannelMessage(SendChannelMessage)
SendChannelMessageResponse(SendChannelMessageResponse)
ChannelMessageSent(ChannelMessageSent)
GetChannelMessages(GetChannelMessages)
GetChannelMessagesResponse(GetChannelMessagesResponse)
RemoveChannelMessage(RemoveChannelMessage)
AckChannelMessage(AckChannelMessage)
GetChannelMessagesById(GetChannelMessagesById)
MoveChannel(MoveChannel)
SetChannelVisibility(SetChannelVisibility)
AddNotification(AddNotification)
GetNotifications(GetNotifications)
GetNotificationsResponse(GetNotificationsResponse)
DeleteNotification(DeleteNotification)
MarkNotificationRead(MarkNotificationRead)
Current max
Implementations§
Trait Implementations§
source§impl PartialEq<Payload> for Payload
impl PartialEq<Payload> for Payload
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnwindSafe for Payload
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more