pub enum ServiceCoreInput {
Show 17 variants
MessagingCloudRequest {
request: MessagingCloudRequest,
},
ClientAuth {
message: MwsMessage,
ws_id: String,
space_id: String,
},
ClientRequest {
target: String,
payload: String,
ws_id: String,
tenant_id: String,
space_id: String,
client: AuthenticatedClient,
is_test: bool,
surface_id: Option<String>,
},
ConversationRequest {
target: String,
payload: String,
tenant_id: String,
space_id: String,
actor_user_id: String,
surface_id: String,
is_test: bool,
},
SpaceAuthorization {
request: SpaceAuthorizationRequest,
},
SpaceMembershipList {
request: SpaceMembershipListRequest,
},
AppClientProjectionPut {
projection: ServiceAppClientProjection,
},
AppClientProjectionDelete {
key: ServiceAppClientProjectionKey,
},
NodeAuth {
request: NodeAuthRequest,
},
HubConnectionProof {
request: HubConnectionProofRequest,
},
NodeRequest {
target: String,
payload: String,
control: Option<String>,
tenant_id: String,
space_id: String,
node_type: String,
node_id: String,
},
NodeStatusObserved {
connection_key: String,
status: Box<StatusPayload>,
},
ClientResponse {
message: MwsMessage,
},
NodeResponse {
message: MwsMessage,
},
IssueLocalSessionToken {
tenant_id: String,
space_id: String,
user_id: String,
app_client_id: String,
},
SetLocalAppClientFocus {
ws_id: String,
focused: bool,
},
RefreshLocalAppClient {
ws_id: String,
},
}Variants§
MessagingCloudRequest
Fields
§
request: MessagingCloudRequestClientAuth
ClientRequest
Fields
§
client: AuthenticatedClientConversationRequest
Invokes the canonical Conversation application boundary without a websocket/client transport identity.
Fields
SpaceAuthorization
Authorizes a trusted headless actor before a non-Conversation operation such as binding a shared messaging surface.
Fields
§
request: SpaceAuthorizationRequestSpaceMembershipList
Lists authoritative scope memberships for a trusted headless principal.
Fields
§
request: SpaceMembershipListRequestAppClientProjectionPut
Idempotently materializes a trusted service-owned AppClient.
Fields
§
projection: ServiceAppClientProjectionAppClientProjectionDelete
Idempotently removes a trusted service-owned AppClient.
Fields
NodeAuth
Fields
§
request: NodeAuthRequestHubConnectionProof
Fields
§
request: HubConnectionProofRequestNodeRequest
Fields
NodeStatusObserved
Reports status from an already authenticated Node transport. Core uses
connection_key to bind the untrusted payload to the authoritative
Node session before accepting it into the Hub-owned status projection.
ClientResponse
Fields
§
message: MwsMessageNodeResponse
Fields
§
message: MwsMessageIssueLocalSessionToken
SetLocalAppClientFocus
RefreshLocalAppClient
Trait Implementations§
Source§impl Clone for ServiceCoreInput
impl Clone for ServiceCoreInput
Source§impl Debug for ServiceCoreInput
impl Debug for ServiceCoreInput
Source§impl<'de> Deserialize<'de> for ServiceCoreInput
impl<'de> Deserialize<'de> for ServiceCoreInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ServiceCoreInput
impl Freeze for ServiceCoreInputwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const StatusPayload is !null: Freeze,
PhantomData<StatusPayload>: Freeze,
impl Move for ServiceCoreInput
impl RefUnwindSafe for ServiceCoreInput
impl Send for ServiceCoreInput
impl Sync for ServiceCoreInput
impl Unpin for ServiceCoreInput
impl UnsafeUnpin for ServiceCoreInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const StatusPayload is !null: UnsafeUnpin,
PhantomData<StatusPayload>: UnsafeUnpin,
impl UnwindSafe for ServiceCoreInputwhere
RawVecInner: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BoxRaw<StatusPayload>: UnwindSafe,
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