pub struct Republish {
pub source: String,
pub destination: String,
pub headers_only: bool,
}
Fields§
§source: String
Subject that should be republished.
destination: String
Subject where messages will be republished.
headers_only: bool
If true, only headers should be republished.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Republish
impl<'de> Deserialize<'de> for Republish
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
impl Eq for Republish
impl StructuralPartialEq for Republish
Auto Trait Implementations§
impl Freeze for Republish
impl RefUnwindSafe for Republish
impl Send for Republish
impl Sync for Republish
impl Unpin for Republish
impl UnwindSafe for Republish
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)