pub enum MessageServiceRequest {
Publish {
message: MessageFull,
},
Message {
id: MessageId,
},
UserData {
author: KeyId,
storage_key: StoreKey,
},
CheckMessages {
message_ids: Vec<MessageId>,
},
Subscribe {
config: SubscriptionConfig,
},
UpdateFilters {
request: FilterUpdateRequest,
},
CatchUp {
request: CatchUpRequest,
},
}Expand description
The request sent over the wire from the client to the server.
Variants§
Publish
Fields
§
message: MessageFullMessage
UserData
CheckMessages
Subscribe
Fields
§
config: SubscriptionConfigUpdateFilters
Fields
§
request: FilterUpdateRequestCatchUp
Fields
§
request: CatchUpRequestTrait Implementations§
Source§impl Debug for MessageServiceRequest
impl Debug for MessageServiceRequest
Source§impl<'de> Deserialize<'de> for MessageServiceRequest
impl<'de> Deserialize<'de> for MessageServiceRequest
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
Source§impl RequestName for MessageServiceRequest
impl RequestName for MessageServiceRequest
Auto Trait Implementations§
impl Freeze for MessageServiceRequest
impl RefUnwindSafe for MessageServiceRequest
impl Send for MessageServiceRequest
impl Sync for MessageServiceRequest
impl Unpin for MessageServiceRequest
impl UnwindSafe for MessageServiceRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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