pub enum CatalogueEntryType {
CONTENT_MATCHER,
CONTENT_GENERATOR,
TRANSPORT,
MATCHER,
INTERACTION,
}
Expand description
Type of catalogue entry
Variants§
CONTENT_MATCHER
Content matcher (based on content type)
CONTENT_GENERATOR
Content generator (based on content type)
TRANSPORT
Network transport
MATCHER
Matching rule
INTERACTION
Generator
Implementations§
source§impl CatalogueEntryType
impl CatalogueEntryType
sourcepub fn to_proto_type(&self) -> EntryType
pub fn to_proto_type(&self) -> EntryType
Return the protobuf type for this entry type
Trait Implementations§
source§impl Clone for CatalogueEntryType
impl Clone for CatalogueEntryType
source§fn clone(&self) -> CatalogueEntryType
fn clone(&self) -> CatalogueEntryType
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 CatalogueEntryType
impl Debug for CatalogueEntryType
source§impl<'de> Deserialize<'de> for CatalogueEntryType
impl<'de> Deserialize<'de> for CatalogueEntryType
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 CatalogueEntryType
impl Display for CatalogueEntryType
source§impl From<&str> for CatalogueEntryType
impl From<&str> for CatalogueEntryType
source§impl From<EntryType> for CatalogueEntryType
impl From<EntryType> for CatalogueEntryType
source§impl From<String> for CatalogueEntryType
impl From<String> for CatalogueEntryType
source§impl PartialEq for CatalogueEntryType
impl PartialEq for CatalogueEntryType
source§fn eq(&self, other: &CatalogueEntryType) -> bool
fn eq(&self, other: &CatalogueEntryType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CatalogueEntryType
impl Serialize for CatalogueEntryType
impl Copy for CatalogueEntryType
impl Eq for CatalogueEntryType
impl StructuralPartialEq for CatalogueEntryType
Auto Trait Implementations§
impl Freeze for CatalogueEntryType
impl RefUnwindSafe for CatalogueEntryType
impl Send for CatalogueEntryType
impl Sync for CatalogueEntryType
impl Unpin for CatalogueEntryType
impl UnwindSafe for CatalogueEntryType
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<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.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.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request