Struct selium_protocol::SubscriberPayload
source · pub struct SubscriberPayload {
pub topic: TopicName,
pub retention_policy: u64,
pub operations: Vec<Operation>,
}Fields§
§topic: TopicName§retention_policy: u64§operations: Vec<Operation>Trait Implementations§
source§impl Clone for SubscriberPayload
impl Clone for SubscriberPayload
source§fn clone(&self) -> SubscriberPayload
fn clone(&self) -> SubscriberPayload
Returns a copy 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 SubscriberPayload
impl Debug for SubscriberPayload
source§impl<'de> Deserialize<'de> for SubscriberPayload
impl<'de> Deserialize<'de> for SubscriberPayload
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 SubscriberPayload
impl PartialEq for SubscriberPayload
source§fn eq(&self, other: &SubscriberPayload) -> bool
fn eq(&self, other: &SubscriberPayload) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SubscriberPayload
impl Serialize for SubscriberPayload
impl StructuralPartialEq for SubscriberPayload
Auto Trait Implementations§
impl RefUnwindSafe for SubscriberPayload
impl Send for SubscriberPayload
impl Sync for SubscriberPayload
impl Unpin for SubscriberPayload
impl UnwindSafe for SubscriberPayload
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