#[repr(i32)]pub enum TxLookupKind {
TX_UNSPECIFIED = 0,
TX_SOURCE = 1,
TX_ANY = 2,
}Expand description
TxLookupKind controls which transaction reference fields are searched.
Variants§
TX_UNSPECIFIED = 0
Lookup mode was not specified.
TX_SOURCE = 1
Match only the original source transaction hash for a flow.
TX_ANY = 2
Match either the source transaction hash or the latest known activity transaction reference.
Implementations§
Source§impl TxLookupKind
impl TxLookupKind
Sourcepub const TxUnspecified: Self = Self::TX_UNSPECIFIED
pub const TxUnspecified: Self = Self::TX_UNSPECIFIED
Idiomatic alias for Self::TX_UNSPECIFIED; Debug prints the variant name.
Sourcepub const TxSource: Self = Self::TX_SOURCE
pub const TxSource: Self = Self::TX_SOURCE
Idiomatic alias for Self::TX_SOURCE; Debug prints the variant name.
Sourcepub const TxAny: Self = Self::TX_ANY
pub const TxAny: Self = Self::TX_ANY
Idiomatic alias for Self::TX_ANY; Debug prints the variant name.
Trait Implementations§
Source§impl Clone for TxLookupKind
impl Clone for TxLookupKind
Source§fn clone(&self) -> TxLookupKind
fn clone(&self) -> TxLookupKind
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 moreimpl Copy for TxLookupKind
Source§impl Debug for TxLookupKind
impl Debug for TxLookupKind
Source§impl Default for TxLookupKind
impl Default for TxLookupKind
Source§impl<'de> Deserialize<'de> for TxLookupKind
impl<'de> Deserialize<'de> for TxLookupKind
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for TxLookupKind
impl Enumeration for TxLookupKind
Source§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for TxLookupKind
Source§impl Hash for TxLookupKind
impl Hash for TxLookupKind
Source§impl PartialEq for TxLookupKind
impl PartialEq for TxLookupKind
Source§impl ProtoElemJson for TxLookupKind
impl ProtoElemJson for TxLookupKind
Source§fn serialize_proto_json<S: Serializer>(
v: &Self,
s: S,
) -> Result<S::Ok, S::Error>
fn serialize_proto_json<S: Serializer>( v: &Self, s: S, ) -> Result<S::Ok, S::Error>
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D: Deserializer<'de>>(
d: D,
) -> Result<Self, D::Error>
fn deserialize_proto_json<'de, D: Deserializer<'de>>( d: D, ) -> Result<Self, D::Error>
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for TxLookupKind
impl Serialize for TxLookupKind
impl StructuralPartialEq for TxLookupKind
Auto Trait Implementations§
impl Freeze for TxLookupKind
impl RefUnwindSafe for TxLookupKind
impl Send for TxLookupKind
impl Sync for TxLookupKind
impl Unpin for TxLookupKind
impl UnsafeUnpin for TxLookupKind
impl UnwindSafe for TxLookupKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.