[][src]Struct dendrite::axon_server::command::CommandSubscription

pub struct CommandSubscription {
    pub message_id: String,
    pub command: String,
    pub component_name: String,
    pub client_id: String,
    pub load_factor: i32,
}

Message describing a component's capability of handling a command type

Fields

message_id: String

A unique identifier for this subscription. This identifier is returned in Acknowledgements to allow pipelining of subscription messages

command: String

The name of the command the component can handle

component_name: String

The name/type of the component handling the command

client_id: String

The unique identifier of the component instance subscribing

load_factor: i32

A number that represents the client's relative load capacity compared to other clients. This information is interpreted by Axon Server in relation to the other connected nodes' values. Used to balance the dispatching of commands. If set to 0, Axon Server consider 100 as default value.

Trait Implementations

impl Clone for CommandSubscription[src]

impl Debug for CommandSubscription[src]

impl Default for CommandSubscription[src]

impl Message for CommandSubscription[src]

impl PartialEq<CommandSubscription> for CommandSubscription[src]

impl StructuralPartialEq for CommandSubscription[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> VecU8Message for T where
    T: Message
[src]

impl<T> WithSubscriber for T[src]