[][src]Struct foco::Advertisement

pub struct Advertisement<M> where
    M: TopicMeta + Copy
{ pub advertiser_id: PublisherId, // some fields omitted }

Permission token for a publisher to publish messages of a given type (on a given topic)

Fields

advertiser_id: PublisherId

The unique publisher id for this topic

Trait Implementations

impl<M: Clone> Clone for Advertisement<M> where
    M: TopicMeta + Copy
[src]

impl<M: Copy> Copy for Advertisement<M> where
    M: TopicMeta + Copy
[src]

impl<M: Eq> Eq for Advertisement<M> where
    M: TopicMeta + Copy
[src]

impl<M: Hash> Hash for Advertisement<M> where
    M: TopicMeta + Copy
[src]

impl<M: PartialEq> PartialEq<Advertisement<M>> for Advertisement<M> where
    M: TopicMeta + Copy
[src]

impl<M: PartialOrd> PartialOrd<Advertisement<M>> for Advertisement<M> where
    M: TopicMeta + Copy
[src]

impl<M> StructuralEq for Advertisement<M> where
    M: TopicMeta + Copy
[src]

impl<M> StructuralPartialEq for Advertisement<M> where
    M: TopicMeta + Copy
[src]

Auto Trait Implementations

impl<M> !Send for Advertisement<M>

impl<M> !Sync for Advertisement<M>

impl<M> Unpin for Advertisement<M>

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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.