pub struct AdvertiseChannel {
pub id: ChannelId,
pub topic: String,
pub encoding: MessageEncoding,
pub schema_name: String,
pub schema: String,
pub schema_encoding: Option<SchemaEncoding>,
}Fields§
§id: ChannelId§topic: String§encoding: MessageEncoding§schema_name: String§schema: String§schema_encoding: Option<SchemaEncoding>Implementations§
Source§impl AdvertiseChannel
impl AdvertiseChannel
pub fn protobuf<T: MessageFull>(id: u32, topic: &str) -> Self
Trait Implementations§
Source§impl Clone for AdvertiseChannel
impl Clone for AdvertiseChannel
Source§fn clone(&self) -> AdvertiseChannel
fn clone(&self) -> AdvertiseChannel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdvertiseChannel
impl Debug for AdvertiseChannel
Source§impl<'de> Deserialize<'de> for AdvertiseChannel
impl<'de> Deserialize<'de> for AdvertiseChannel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AdvertiseChannel
impl PartialEq for AdvertiseChannel
Source§impl Serialize for AdvertiseChannel
impl Serialize for AdvertiseChannel
impl Eq for AdvertiseChannel
impl StructuralPartialEq for AdvertiseChannel
Auto Trait Implementations§
impl Freeze for AdvertiseChannel
impl RefUnwindSafe for AdvertiseChannel
impl Send for AdvertiseChannel
impl Sync for AdvertiseChannel
impl Unpin for AdvertiseChannel
impl UnwindSafe for AdvertiseChannel
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