pub enum SubscribableType {
Channel,
ChannelGroup,
}
Expand description
Types of subscribable objects.
Subscribable can be separated by their place in subscribe REST API:
URI path
- channel-like objects which represent single entity ([Channel
], [ChannelMetadata
], [UserMetadata
])query parameter
- entities which represent group of entities ([ChannelGroup
])
Variants§
Channel
Channel identifier, which is part of the URI path.
ChannelGroup
Channel group identifiers, which is part of the query parameters.
Auto Trait Implementations§
impl Freeze for SubscribableType
impl RefUnwindSafe for SubscribableType
impl Send for SubscribableType
impl Sync for SubscribableType
impl Unpin for SubscribableType
impl UnwindSafe for SubscribableType
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