Struct nitox::commands::SubCommand[][src]

pub struct SubCommand {
    pub subject: String,
    pub queue_group: Option<String>,
    pub sid: String,
}

SUB initiates a subscription to a subject, optionally joining a distributed queue group.

Fields

The subject name to subscribe to

If specified, the subscriber will join this queue group

A unique alphanumeric subscription ID, generated by the client

Methods

impl SubCommand
[src]

Generates a random sid String

Trait Implementations

impl Debug for SubCommand
[src]

Formats the value using the given formatter. Read more

impl Clone for SubCommand
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for SubCommand
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<SubCommand> for UnsubCommand
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for SubCommand

impl Sync for SubCommand