pub enum ProvenanceKind {
ExternalUser,
InterSession,
InternalSystem,
}Expand description
Provenance kind for tracking message origins.
Variants§
ExternalUser
Message from a real user via a channel.
InterSession
Message forwarded from another session.
InternalSystem
Message generated by the system itself.
Trait Implementations§
Source§impl Clone for ProvenanceKind
impl Clone for ProvenanceKind
Source§fn clone(&self) -> ProvenanceKind
fn clone(&self) -> ProvenanceKind
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 ProvenanceKind
impl Debug for ProvenanceKind
Source§impl<'de> Deserialize<'de> for ProvenanceKind
impl<'de> Deserialize<'de> for ProvenanceKind
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 Display for ProvenanceKind
impl Display for ProvenanceKind
Source§impl FromStr for ProvenanceKind
impl FromStr for ProvenanceKind
Source§impl PartialEq for ProvenanceKind
impl PartialEq for ProvenanceKind
Source§impl Serialize for ProvenanceKind
impl Serialize for ProvenanceKind
Source§impl TryFrom<&str> for ProvenanceKind
impl TryFrom<&str> for ProvenanceKind
impl Eq for ProvenanceKind
impl StructuralPartialEq for ProvenanceKind
Auto Trait Implementations§
impl Freeze for ProvenanceKind
impl RefUnwindSafe for ProvenanceKind
impl Send for ProvenanceKind
impl Sync for ProvenanceKind
impl Unpin for ProvenanceKind
impl UnsafeUnpin for ProvenanceKind
impl UnwindSafe for ProvenanceKind
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