Enum backend::models::pulsar::PulsarRelationData [−][src]
pub enum PulsarRelationData {
ActivateLike(i64, i64),
DeactivateLike(i64, i64),
ActivateCollection(i64, i64),
DeactivateCollection(i64, i64),
ActivateFollow(i64, i64),
DeactivateFollow(i64, i64),
}Expand description
Wrap RelationData with uid
Variants
Trait Implementations
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
type Output = Result<PulsarRelationData, Error>
type Output = Result<PulsarRelationData, Error>
type produced from the message
deserialize method that will be called by the consumer
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
serialize method that will be called by the producer
Auto Trait Implementations
impl RefUnwindSafe for PulsarRelationData
impl Send for PulsarRelationData
impl Sync for PulsarRelationData
impl Unpin for PulsarRelationData
impl UnwindSafe for PulsarRelationData
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
pub fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self into a collection.
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more