pub struct ChannelDef {
pub name: String,
pub schema_ref: String,
pub durable: bool,
}Expand description
Declarative channel definition loaded from server configuration.
Fields§
§name: StringUnique channel name used by routing rules and operators.
schema_ref: StringSchema reference used to validate messages for this channel.
durable: boolWhether this channel requires durable persistence.
Trait Implementations§
Source§impl Clone for ChannelDef
impl Clone for ChannelDef
Source§fn clone(&self) -> ChannelDef
fn clone(&self) -> ChannelDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChannelDef
impl Debug for ChannelDef
Source§impl<'de> Deserialize<'de> for ChannelDef
impl<'de> Deserialize<'de> for ChannelDef
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
Auto Trait Implementations§
impl Freeze for ChannelDef
impl RefUnwindSafe for ChannelDef
impl Send for ChannelDef
impl Sync for ChannelDef
impl Unpin for ChannelDef
impl UnsafeUnpin for ChannelDef
impl UnwindSafe for ChannelDef
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