Struct strymon_model::Topic [] [src]

pub struct Topic {
    pub id: TopicId,
    pub name: String,
    pub addr: (String, u16),
    pub schema: TopicSchema,
}

The metadata of a published topic.

Fields

A unique, non-reusable numerical identifier for this topic instance.

A unique (but re-usable) name for this topic.

A strymon_communication endpoint address for this topic.

The kind of protocol used for this topic.

Trait Implementations

impl Clone for Topic
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Topic
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Topic
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Topic
[src]

impl Abomonation for Topic
[src]

[src]

Write any additional information about &self beyond its binary representation. Read more

[src]

Reports the number of further bytes required to entomb self.

[src]

Recover any information for &mut self not evident from its binary representation. Read more

impl TypeName for Topic
[src]

[src]

Formats the fully qualified type name using the given formatter.

Returns the canoncial, concrete name of a type as a string. # Examples Read more

Returns the canoncial type of a value as a string. # Examples Read more