pub enum Command {
User {
username: String,
},
ListSubscriptions,
Subscribe {
url: String,
},
Unsubscribe {
id: i64,
},
ListUnread,
MarkRead {
id: i64,
},
}Expand description
Commands sent to seymour server
Variants§
User
Select the user user
ListSubscriptions
List the current user’s subscriptions
Requires a client to issue a User command prior.
Subscribe
Subscribe the current user to a new feed
Requires a client to issue a User command prior.
Unsubscribe
Unsubscribe the current user from a feed
Requires a client to issue a User command prior.
ListUnread
List the current user’s unread feed entries
Requires a client to issue a User command prior.
MarkRead
Mark a feed entry as read by the current user
Requires a client to issue a User command prior.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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